Sponsored
Solve with full IDE support and test cases
Use these hints if you're stuck. Try solving on your own first.
You have to check at most 10 numbers.
Apply a brute-force approach by checking each possible number.