# | Problem | Pass Rate (passed user / total user) |
---|---|---|
13576 | Anya wants to study math |
|
13577 | Anya loves to encrypt |
|
Description
One day, Anya gets 0 point in a math exam again. Clever Loid figures out a way to help Anya.
Loid applys math problems in Anya's favorite spy anime.
Given three integers G, B, and S:
1) G: The number of guns
2) B: The number of bullets per gun
3) S: The number of spy
Anya needs to calculate the total number of bullets and how many guns a spy can be distributed.
Input
The input will contain 3 integers G, B, and S.
(1<= G, B, S <= 100000)
Output
First line prints calculation result of total number of bullets, the result might exceed 232
Second line prints calculation result of how many gun a spy can be distributed and rounded off to 2 decimal places
remember to print \n at the end of output.
Sample Input Download
Sample Output Download
Tags
Discuss
Description
Anya wants to be a spy in the future, and Anya tries to encrypt the string by changing lowercase to uppercase and reversing each alphabet.
That is,
'a' first becomes 'A' and then becomes 'Z'.
'b' first becomes 'B' and then becomes 'Y'.
'c' first becomes 'C' and then becomes 'X'.
...
'y' first becomes 'Y' and then becomes 'B'.
'z' first becomes 'Z' and then becomes 'A'.
Input
Input contains only a line.
A 5 character word.
It is guarantee that the word contains only lower case alphabet.
Output
The encrypted word.
remember to print \n at the end of output.