Problems
Queue
Competitions
Ranking
Articles
Signup
Signin
bolt
Try our new interface for solving problems
Try
Problems
175
Statement
Solutions
Statistics
Discussion
175
175
Time limit
1
second
Memory limit
64
MiB
Input example #1
content_copy
9 0 -1 -2 1 1 0 1 0 3
Output example #1
content_copy
3 0 1
Fashion Elements 2
Модні елементи 4