Problem3009--交替

3009: 交替

Time Limit: 1.000 Sec  Memory Limit: 256 MB
Submit: 40  Solved: 6
[Submit] [Status] [Web Board] [Creator:]

Description


Input


Output


Sample Input

3 
1 6 8 

Sample Output

1000000000 

HINT




Source/Category

 

[Submit] [Status]