Reverse C

View as PDF

Submit solution

Points: 1
Time limit: 1.0s
Memory limit: 256M

Author:
Problem type

Problem Statement

This problem is worth 1 token.

Input Format

Your first line will contain n. Your next line will contain n space-separated non-negative integers.

Sample Cases

Input 1
5
3 4 5 1 2
Output 1
1 5
Input 2
10
4 2 10 4 9 32 69 2 3 4
Output 2
2 69

Comments

There are no comments at the moment.