import java.util.Arrays;
import java.util.Scanner;
/**
* Write a description of class decoderProgram here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class decoderProgram
{
public static void main (String [] args)
{
System.out.println("\f");
Scanner myScan=new Scanner (System.in);
char[] alphabet= {' ', 'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};
char[] encode={' ', 'q','w','e','r','t','y','u','i','o','p','a','s','d','f','g','h','j','k','l','z','x','c','v','b','n','m'};
System.out.println("Enter a phrase do be encoded");
String userInput=myScan.nextLine();
userInput=userInput.toUpperCase();
String output= " ";
char firstLetter=' ';
for(int i = 0; i<userInput.length(); i++)
{
for (int x =0; x<27; x++)
{
if (firstLetter == encode[x])
{
output= output+alphabet[x];
}
}
}
System.out.println(output);
}
}