Preparando MOJI

Eval

2000ms 262144K

Description:

You are given a simple arithmetic expression of the form a?b, where a and b are integer constants, and ? can be one of the following operations: '+' (addition), '-' (subtraction), '*' (multiplication), '/' (integer division) or '%' (modulo operation).

Output the result of evaluation of this expression.

Input:

The input is a single line containing an expression a?b. Here a and b are integers between 1 and 999, inclusive; ? is an operation character: '+', '-' (ASCII code 45), '*', '/' or '%'.

Output:

Output a single integer — the result of evaluation of this expression.

Sample Input:

123+456

Sample Output:

579

Sample Input:

192/5

Sample Output:

38

Sample Input:

945%19

Sample Output:

14

Informação

Codeforces

Provedor Codeforces

Código CF470C

Tags

*special

Submetido 0

BOUA! 0

Taxa de BOUA's 0%

Datas 09/05/2023 08:53:41

Relacionados

Nada ainda