eolymp
bolt
Try our new interface for solving problems
Problems

Swap the middle

Swap the middle

In a given four-digit natural number, swap the middle digits. \InputFile The only line contains a given natural four-digit number. \OutputFile New number.
Time limit 1 second
Memory limit 64 MiB
Input example #1
4765
Output example #1
4675