Hw: compare user input values