	program main
	integer n, a(1:20010), b(1:20010)
	read *, n
	read *,(a(i),i=1,n)
	do i = 1, n/2
		b(i) = a(n-i+1)
		b(n-i+1) = a(n-i)
	end do
	if (mod(n,2) .eq. 1) b(n/2+1) = a(1)
	write(6,*) (b(i),i = 1,n)
	end