FindInput method for Calculator class