import java.io.*;

public class Main{ public static char[] tab = new char[]{'2','2','2','3','3','3','4','4','4','5','5','5','6', '6','6','7','7','7','7','8','8','8','9','9','9','9','0'}; public static void main(String[] args) throws Exception { InputStream in = System.in; char c; StringBuilder sb = new StringBuilder(); while((c = (char)in.read()) != '\n') { if(c >= 'A' && c < 'Z') { c = (char)(c + 33); } else if(c == 'Z') { c = 'a'; } else if(c >= 'a' && c <= 'z') { c = tab[c - 'a']; } sb.append(c); } System.out.println(sb.toString()); } }