process.stdin.resume();
process.stdin.setEncoding('utf8');

process.stdin.on('data', function (chunk) {
    const n = chunk.toString();
    const r = n.split("\n");
    sp(r[1]);
});

function sp(ans){
    const r = ans.split(" ");
    r.reverse();
    const c = r.join(" ");
    return console.log(`${c}`);
}
