the solution is to find whether two numbers are real