PhD Program

No attempts yetTime limit1sMemory limit128 MB

Problem

While writing his doctoral dissertation, Donghyuk forgot how to add two numbers. He has to finish an entire problem sheet made up of addition problems and one computer science problem in order to earn his military-service exemption.

Each addition problem on the sheet is written in the form a+b, and there is exactly one computer science problem, P=NP. Given Donghyuk's problem sheet, write a program that produces the answer to every problem in order.

Input

The first line contains the number of problems $N$ ($1 \le N \le 1000$).

Each of the next $N$ lines contains either an addition problem in the form a+b or the string P=NP. Here $a$ and $b$ are integers with $0 \le a, b \le 1000$.

Output

For each problem, print the answer on its own line. If the problem is P=NP, print skipped; if it is an addition problem, print the value of $a+b$.