Comparing numbers with less than or greater than signs