import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		String plainAlphabet = "abcdefghijklmnopqrstuvwxyz";
		String cipherAlphabet = "zyxwvutsrqponmlkjihgfedcba";
		String text = "Some sensitive text that only humans must be able to read";
 
		String encodedText = encrypt(plainAlphabet, cipherAlphabet, text);
		System.out.println(encodedText);
	}
	
	public static String encrypt(String plain, String cipher, String text) {
	    plain = plain + plain.toUpperCase();
	    cipher = cipher + cipher.toUpperCase();
	 
	    String newText = "";
	    for(int i=0; i<text.length(); i++) {
	        char c = text.charAt(i);
	        int index = plain.indexOf(c);
	        if(index >= 0 && index < cipher.length()) {
	            newText += cipher.charAt(index);
	        } else {
	            newText += c;
	        }
	    }
	    return newText;
	}
}