eolymp
bolt
Try our new interface for solving problems
Problems

Rabbit

Rabbit

Statement for this problem is only available as a file.
Time limit 0.1 seconds
Memory limit 256 MiB
Input example #1
12 2 1
Output example #1
7
3 5 12 8 10 12 2