#!/usr/bin/env python3 # NOTE: it is recommended to use this even if you don't understand the following code. # input data N = int(input()) A, B, C, D = [], [], [], [] for _ in range(N): a, b, c, d = map(int, input().split()) A.append(a) B.append(b) C.append(c) D.append(d) W1 = W2 = X = 0 # insert your code here print(W1, W2, X) # print the result