greaterNum and theCalculator