function main(input){
    let lines = input.split("\n");
    let length = parseInt(lines[0]);
    let nums = lines[1].split(" ").map(item=>parseInt(item));
    let answer = [];
    for(let i=0;i<length;i++){
        answer.push(nums.pop());
    }
    console.log(answer.join(" "));

}


main(require("fs").readFileSync("/dev/stdin","utf-8"));
