a = int(input()) b = int(input()) c = int(input()) height = [] height.append(a) height.append(b) height.append(c) height.reverse() for i in height: print(i)