In a given four-digit natural number, swap the middle digits.
The only line contains a given natural four-digit number.
New number.