#include <iostream>
#include <string>
using namespace std;

int main() {
	string x;
	string y="`1234567890-=QWERTYUIOP[]\ASDFGHJKL;'ZXCVBNM,./";
	while(getline(cin,x))
	{
	size_t found;
	for (int i=0; i<x.length(); i++)
	{
		if (x[i]==' ')
		{
			cout<<" ";
		}
	
		else
		{
			found=y.find_first_of(x[i]);
			cout<<y[found-1];
		}
	}
	cout<<endl;
	}
	return 0;
}
