HW7/8: Calc input working