Problems
Queue
Competitions
Ranking
Articles
Signup
Signin
bolt
Try our new interface for solving problems
Try
Problems
Delivery
Statement
Solutions
Statistics
Discussion
Delivery
Statement for this problem is only available as a file.
Download
Time limit
1.5
second
Memory limit
256
MiB
Input example #1
content_copy
6 1 1 2 3 3 2 5 4 4 1 4 3
Output example #1
content_copy
2
Rabbit