Files
CodeObject/zeta_python/completed/1247.py
yenru0 f74f3c4ec7 add 1025 1918 12101 1076 1247
complete 1076 1247
wander 1025 1918 12101
2020-08-05 21:18:51 +09:00

13 lines
241 B
Python

import sys
for _ in range(3):
N = int(sys.stdin.readline())
t = 0
for i in range(N):
t += int(sys.stdin.readline())
if t > 0:
print("+")
elif t < 0:
print("-")
else:
print("0")