1750 - I2P(I)2019_Yang_CS_lab2 Scoreboard

Time

2019/09/24 18:30:00 2019/09/24 20:30:00

Clarification

# Problem Asker Description Reply Replier Reply Time For all team

# Problem Pass Rate (passed user / total user)
12381 SVOOL DLIOW
12394 Easy Palindrome

12381 - SVOOL DLIOW   

Description

Given a 5-character word containing only lower case letters, try to encrypt the word by reversing and capitalize each character.

That is,

'a' becomes 'Z'.

'b' becomes 'Y'.

...

'y' becomes 'B'.

'z' becomes 'A'.

Input

Input contains a 5-character word consist of lower case letters only.

Output

Output the encrypted word with a new-line character in the end.

Sample Input  Download

Sample Output  Download

Tags




Discuss




12394 - Easy Palindrome   

Description

The input is a 6-digit floating number N that consists of digits 1-9 except 0. For example, 156.854 is such a number. The task is to reverse the order of the digits of integer part and decimal part respectively to get a new six-digit floating number M, and compute the sum of the N and M. For example, if N is 123.456, then M is 321.654, and the answer should be 445.110.

Input

A six-digit floating number consisting of 1-9 except 0

Output

The sum of the input number and its reversal
The answer should be expressed as a floating point number with precision to the three decimal place. For example, 445.110

Note that you do not need to print ‘\n’ at the end of the output.

Sample Input  Download

Sample Output  Download

Tags




Discuss