e-olymp
Competitions

Вступ_Заоч-3

110

110

Time limit 1 second
Memory limit 64 MiB
Input example #1
7
-1
4
-6
0
Output example #1
4