import java.util.*;
public class encryption{
public static void main(String args[]){
Scanner myScanner=new Scanner(System.in);
String alpha="abcdefghijklmnopqrstuvwxyz";
String word,text="";
System.out.println("Enter the plain text");
word=myScanner.nextLine().toLowerCase();
System.out.println("cipher text");
for(int i=0;i<word.length();i++){
boolean found=false;
char a=word.charAt(i);
int j=0;
while(j<alpha.length() && !found ){
char b=alpha.charAt(j);
if(a==' '){
text=text+" ";
found=true;
}
else if(a==b ){
found=true;
if(j<24){
text=text+alpha.substring(j+2,j+3);
}
else{
text=text+alpha.substring(j-alpha.length()+2,j-alpha.length()+3);
}
}
j++;
}
}
System.out.print(text);
}
}