int main()
{
	char str[102], *p, c;
	cin.getline(str,102);c = str[0];
	for (p = str; *p != 0; p++)
	{
		if (*(p+1) != 0)
			*p += *(p+1);
		else
			*p += c;
	}
	for (p = str; *p != 0; p++)
		cout << *p;
	cout << endl;
	return 0;
}