Find the number 5
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
In the three-digit number N, the middle digit is removed. When this digit is placed in front of the remaining two-digit number, it forms a new number X. Determine the value of X, given the number N.
Input
A three-digit natural number N.
Output
The resulting number X.
Examples
Input #1
Answer #1
Submissions 8K
Acceptance rate 47%