7 lines
165 B
Python
7 lines
165 B
Python
for _ in range(int(input())):
|
|
testcase = input()
|
|
if testcase == "P=NP":
|
|
print("skipped")
|
|
else:
|
|
print(sum(map(int, testcase.split("+"))))
|