import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;
import java.util.Stack;
import java.util.regex.Pattern;

public class Main {
public static void main(String[] args) {

            Scanner sc = new Scanner(System.in);
            String str = sc.nextLine();
             char[] array = str.toCharArray();
            Map<String,String> map = new HashMap();
            map.put("a","2" );map.put("b","2" );map.put("c","2" );
            map.put("d","3" );map.put("e","3" );map.put("f","3" );
            map.put("g","4" );map.put("h","4" );map.put("i","4" );
            map.put("j","5" );map.put("k","5" );map.put("l","5" );
            map.put("m","6" );map.put("n","6" );map.put("o","6" );
            map.put("p","7" );map.put("q","7" );map.put("r","7" );map.put("s","7" );
            map.put("t","8" );map.put("u","8" );map.put("v","8" );
            map.put("w","9" );map.put("x","9" );map.put("y","9" );map.put("z","9" );
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < array.length; i++) {
                char c = array[i];
                if(Character.isDigit(c)) {
                    sb.append(c);
                }
                if(Pattern.matches("[a-z]", String.valueOf(c))) {
                    sb.append(map.get(String.valueOf(c)));
                }
                if(Pattern.matches("[A-Z]", String.valueOf(c))) {
                     if("Z".equals(String.valueOf(c))) {
                          sb.append('a');
                      }else {
                          char c1 = Character.toLowerCase(c);
                          char c2 = (char) (1+c1);
                          sb.append(c2);
                      }
                }
            }
            System.out.println(sb.toString());

 }

}