/* package whatever; // don't place package name! */

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	static char decrypt(char c, int k)
	{
		return (char)(((int)(c-'A')+26-k)%26+'a');
	}
	public static void main (String[] args) throws java.lang.Exception
	{
		String cipher="AJY";
		char cipherAlphabet[]=cipher.toCharArray();
		for(int k=1; k<26; k++)
		{
			System.out.print(k+"--->");
			for(int i=0; i<cipherAlphabet.length; i++)
			{
				System.out.print(decrypt(cipherAlphabet[i],k));
			}
			System.out.println();
		}
		
	}
}