1123


Submit solution

Points: 1
Time limit: 1.0s
Memory limit: 1G

Problem type

Ví dụ

Ví dụ 1

input

10
2 -9 4 2 -4 6 9 -7 3 1

output

1
10

Comments

There are no comments at the moment.