num = gets.to_i;
aryNum = gets.split.map(&:to_i);

aryNum = aryNum.reverse;

for numIndex in 0..aryNum.length-1 do
	
	if numIndex == 0 then
		print aryNum[numIndex].to_s;
	else
		print " " + aryNum[numIndex].to_s;
	end
	
end

print "\r\n";