n = int(input()) points = [] for _ in range(n): points.append(int(input())) points.reverse() for p in points: print(p)