Reverse D


Problem Statement

This problem is worth 2 tokens.

Input Format

Your first line will contain nn. Your next line will contain nn 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

Comments0


No comments yet

Be the first to comment.

New comment


Log in to join the discussion.