You are given a number n and n integers. Your task is to output the last two numbers.
The first line contains a natural number, n(1<n≤1000).
The next n lines contain the integers (−1000≤ai≤1000).
The solution to the problem should be on a single line.
5 1 2 3 4 5
4 5
3 3 2 1
2 1
Login to be able to submit.