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