Simple Calculator

0

0 votes
Easy
Problem

Jack is a newbie programmer he has a string of format x/y and x*y, he is struggling to divide integers of this string by creating a program. Here x and y are non-negative integers. His task is to perform the task accordingly.

Input Format

  • In a single line, you will be given the string.

Constraints

  • The string contains exactly 3 characters of the form x/y or x*y.

Output

Time Limit: 10
Memory Limit: 256
Source Limit:
Editor Image

?