phdcrisis
Rapho forgot how to add two numbers while doing research for his PhD.
And now he has a long list of addition problems that he needs to solve, in addition to his computer science ones!
Can you help him?
On his current list, Rapho has two kinds of problems: addition problems on the form “a+b” and the ever returning problem “P=NP”.
Rapho is a quite distracted person, so he might have to solve this last problem several times since he keeps forgetting the solution. Also, he would like to solve these problems by himself, so you should skip these.
Input The first line of input will be a single integer N (1≤N≤1000) denoting the number of test cases.
Then follow N lines with either “P=NP” or an addition problem on the form “a+b”, where a,b∈[0,1000] are integers.
Output
Output the result of each addition.
For lines containing “P=NP”, output “skipped”.
Sample Input
4
2+2
1+2
P=NP
0+0
Sample Output
4
3
skipped
0
Comments