eolymp
bolt
Try our new interface for solving problems

122

Time limit 1 second
Memory limit 64 MiB

122

Examples

Input example #1
37
Output example #1
2