Problem2190--Dynamically allocated array

2190: Dynamically allocated array

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 465  Solved: 208
[Submit] [Status] [Web Board] [Creator:]

Description

This problem requires creates a dynamically allocated array as follows: int *entry; entry = new int[10]; so that the pointer variable entry is pointing to the dynamically allocated array. Write code to fill this array with 10 numbers typed in at the keyboard.

Input

Given ten numbers.

Output

Output the second number.

Sample Input Copy

1,2,3,4,5,6,7,8,9,10

Sample Output Copy

2

Source/Category

25