The answer depends on whether the numbers picked can be repeated and whether the guess can have repeat numbers.
For example could you have 5 9's selected or must the 5 numbers all be different?
Then can you guess 3 3's or must the guess all be different.
In order to answer the question you must specify these choices.