Reverse D

View as PDF

Submit solution

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

Author:
Problem type

Problem Statement

This problem is worth 2 tokens.

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
6
Input 2
10
4 2 10 4 9 32 69 2 3 4
Output 2
71

Comments

There are no comments at the moment.