First Multiply and then Add

0

0 votes
Very-Easy
Problem

Given the expression consisting of numbers(Integers) and multiplication and addition symbols wherever necessary. Output the result given the expression

Input Format

Single line consisting of the Expression to evaluate

Output Format

Output of the result

Constraints

Expression consisting of numbers(Integers) and ‘+’ and ‘x’ (without quotes)
0 <= Integer < 101

Time Limit: 5
Memory Limit: 256
Source Limit:
Explanation

Using BODMAS rule, it could be solved easily

Editor Image

?