PivotOJ

BUKA

시간 제한: 1000ms메모리 제한: 128MB출처: COCI 2008-2009BOJ 2935

문제

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. 

입력

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 the result of the operation. 

 

예제

예제 1

입력
1000
*
100
출력
100000

예제 2

입력
10000
+
10
출력
10010

예제 3

입력
10
+
1000
출력
1010

예제 4

입력
1
*
1000
출력
1000
코드를 제출하려면 로그인하세요.