40 : you need to have 3 right digits
17 : you can't tell and have to see all of it.
128: you have to have7 the first digits.
3125:you have to have 5 the first numbers.
I'm 100% sure.