f=open("vaipsis.txt") k, l, p=[int(s) for s in f.readline().strip().split(" ")] print(l) 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)