diff --git a/solutions/69A.py b/solutions/69A.py new file mode 100644 index 0000000..92d78c5 --- /dev/null +++ b/solutions/69A.py @@ -0,0 +1,20 @@ +n = int(input()) + +coordinates = [0, 0, 0] + +for _ in range(n): + x, y, z = [int(d) for d in input().split(' ')] + + coordinates[0] += x + coordinates[1] += y + coordinates[2] += z + +check = True +for i in coordinates: + if i != 0: + check = False + +if check: + print("YES") +else: + print("NO")