f=open("vaipsis.txt") k, l, p=[int(s) for s in f.readline().strip().split(" ")] print(l) for nr in range(k): n, s, e, w=[int(s) for s in f.readline().strip().split(" ")] vaibakorgus=p-n-s vaibalaius=l-e-w print(vaibakorgus, vaibalaius, vaibakorgus*vaibalaius)