//UVa10222 
// k[r dyt I[o   -> how are you
#include <iostream>
#include <string>
using namespace std;
int main(){
/**********************
 	`1234567890-=
	qwertyuiop[]\
	asdfghjkl;'
	zxcvbnm,./
*/////////////////////
char keyboard[47]=
{
96,'1','2','3','4','5','6','7','8','9','0','-','=',
'q','w','e','r','t','y','u','i','o','p','[',']',92,
'a','s','d','f','g','h','j','k','l',59,39,
'z','x','c','v','b','n','m',',','.',47,
};
//string kb="`1234567890-=qwertyuiop[]\asdfghjkl;'zxcvbnm,./";
string input;
getline(cin,input);
	int i;
	for(i=0;i<input.length();i++){
		input[i]=tolower(input[i]);
	}
//cout<<keyboard;
	for(i=0;i<input.length();i++){
//		cout<<input[i]<<"\t";
		if(input[i]==' '){
			cout<<input[i];
		}		
		int k;
		for(k=0;k<47;k++){
			if(keyboard[k]==input[i]){	
				if(k==1)
					cout<<keyboard[46];
				else if(k==0)
					cout<<keyboard[45];
				else
					cout<<keyboard[k-2];
			}
		}
	}
}
