import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scn = new Scanner(System.in);
String s = scn.next();
int n = Integer.parseInt(s);
String[] table = { " ", “.+@$”, “abc”, “def”, “ghi”, “jkl”, “mno”, “pqrs”, “tuv”, “wxyz” };
int a = n / 10, b = n % 10;
codes(table[a], table[b], table[b]);
}
public static void codes(String a, String b, String c) {
if (a.length() == 0) {
return;
}
if (b.length() == 0) {
codes(a.substring(1), c, c);
} else {
System.out.print(a.charAt(0));
System.out.println(b.charAt(0));
codes(a, b.substring(1), c);
}
}
} I don’t know Why please correct the problem