how to solve tricky problems on number system