Problem Description

Expression tokens like: number op number op number. Evaluate strictly left-to-right (no precedence). Ops are + - *.

Input Format

One line tokens separated by spaces.

Output Format

One integer result.

Sample Test Case

Input:
10 - 3 * 2
Output:
14

Constraints

Token count

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next