### COCI 2008/2009, Contest #6

## Task BUKA

Quite often there is substantial noise in the classroom during class. Instead of paying attention to what the teacher is saying, the students rather discuss the economic crisis or Croatia's joining the European Union.The biggest noise often occurs when the students are idle, so teachers will give them tasks with a lot of work to calm them down. In one type of such task, the student must calculate the result of an arithmetic operation on two large numbers.

The arithmetic operations we will consider are adding and multiplication. The operands will be

**powers of 10**with no more than 100 digits.

Write a program that calculates the result of the operation.

### Input

The first line contains a positive integer A, the first operand.The second line either the character '+' or '*', representing addition or multiplication.

The third line contains a positive integer B, the second operant.

The integers A and B will be powers of 10 and consist of at most 100 digits.

### Output

Output the result of the operation.### Examples

## Input1000 * 100 ## Output100000 |
## Input10000 + 10 ## Output10010 |
## Input10 + 1000 ## Output1010 |
## Input1 * 1000 ## Output1000 |

All Submissions

Best Solutions

**Point Value:** 5

**Time Limit:** 1.00s

**Memory Limit:** 32M

**Added:** Mar 09, 2009

**Languages Allowed:**

C++03, PAS, C, ASM, C#, C++11

## Comments (Search)

sherwinxuon Dec 08, 2011 - 10:54:21 pm UTC Additionjargonon Dec 09, 2011 - 12:25:49 am UTC Re: AdditionHarshParikhon Nov 30, 2011 - 5:22:43 am UTC Javajargonon Nov 30, 2011 - 3:00:21 pm UTC Re: JavaNiemaon Mar 01, 2011 - 5:01:07 am UTC watz wrong with my program?SourSpinachon Mar 01, 2011 - 5:23:41 am UTC Re: watz wrong with my program?ilovepion Mar 01, 2011 - 12:59:21 pm UTC Re: watz wrong with my program?