#t177. 输出亲朋字符串
输出亲朋字符串
Output the "Kin" String
Problem Description
Write a program to compute the "kin string" of a given string .
The kin string is defined as follows: take the first character of , add its ASCII value to the ASCII value of the second character of , to get the first kin character; take the second character of , add its ASCII value to the ASCII value of the third character, to get the second kin character; and so on, until the second-to-last character of . The last character of the kin string is obtained by adding the ASCII value of the last character of to the ASCII value of the first character of .
Input Format
The input gives one line: a string of length between 2 and 100 inclusive. Each character of the string has an ASCII value no greater than 63.
Output Format
Output one line: the transformed kin string. The input guarantees the transformed string has exactly one line.
Sample Input
1234
Sample Output
cege