eolymp
bolt
Try our new interface for solving problems

072

072

Time limit 1 second
Memory limit 64 MiB
Input example #1
7 2 4
Output example #1
2 4 7