| # | Problem | Pass Rate (passed user / total user) |
|---|---|---|
| 11116 | Palindrome |
|
Description
The input will be a floating point number X which has 2 digits on the left of the point, and 3 digits on the right of the point. X consists of digits 1-9 except 0.
Interchange the two sides of the point to obtain another floating point number Y.
Finally, compute the sum of X and Y.
Example:
Input: 46.534
after interchanging: 534.46
after summing up: 580.994
Input
Given a floating point number X.
Output
The sum of X and Y.
The answer should be expressed as a floating point number with precision to the third decimal place. For example, 580.994.
Note that you do not need to print ‘\n’ at the end of the output.