Gets input. Can add, subtract, multiply or divide. Prints result.