How to solve number puzzle easily