B = map(int,input().split()) for i,value in enumerate(B): if i != B: print(value) break