eolymp
bolt
Try our new interface for solving problems

052

052

Time limit 1 second
Memory limit 64 MiB
Input example #1
12345
Output example #1
135