시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
1 초 128 MB 702 469 419 67.472%

문제

동혁이는 박사 학위 논문을 쓰던 중 두 수를 더하는 방법을 까먹었다. 동혁이는 덧셈 문제와 컴퓨터 과학 문제로 이루어진 문제지를 풀어야 군면제를 받을 수 있다.

문제지의 덧셈 문제는 "a+b"와 같은 형식이고, 컴퓨터 과학 문제는 "P=NP" 하나이다. 동혁이의 문제지가 주어졌을 때, 답을 모두 구하는 프로그램을 작성하시오. 

입력

첫째 줄에 문제의 개수 N이 주어진다. (1 ≤ N ≤ 1000) 다음 N개 줄에는 "a+b"형식의 덧셈 문제나 "P=NP"가 주어진다. a,b ∈ [0,1000]이며 a와 b는 정수이다.

출력

P=NP가 문제인 경우에는 skipped를, 덧셈 문제인 경우에는 덧셈한 결과를 출력한다.

예제 입력 1

4
2+2
1+2
P=NP
0+0

예제 출력 1

4
3
skipped
0
W3sicHJvYmxlbV9pZCI6IjUwMjYiLCJwcm9ibGVtX2xhbmciOiIwIiwidGl0bGUiOiJcdWJjMTVcdWMwYWMgXHVhY2ZjXHVjODE1IiwiZGVzY3JpcHRpb24iOiI8cD5cdWIzZDlcdWQ2MDFcdWM3NzRcdWIyOTQgXHViYzE1XHVjMGFjIFx1ZDU1OVx1YzcwNCBcdWIxN2NcdWJiMzhcdWM3NDQgXHVjNGYwXHViMzU4IFx1YzkxMSBcdWI0NTAgXHVjMjE4XHViOTdjIFx1YjM1NFx1ZDU1OFx1YjI5NCBcdWJjMjlcdWJjOTVcdWM3NDQgXHVhZTRjXHViYTM5XHVjNWM4XHViMmU0LiBcdWIzZDlcdWQ2MDFcdWM3NzRcdWIyOTQgXHViMzY3XHVjMTQ4IFx1YmIzOFx1YzgxY1x1YzY0MCBcdWNlZjRcdWQ0ZThcdWQxMzAgXHVhY2ZjXHVkNTU5IFx1YmIzOFx1YzgxY1x1Yjg1YyBcdWM3NzRcdWI4ZThcdWM1YjRcdWM5YzQgXHViYjM4XHVjODFjXHVjOWM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