import java.util.*;
import java.util.regex.*;
public class Main
{
public static final char[] alphabet_upper = new char[] { '\0', 'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z', '\0' };
public static final char[] alphabet_lower = new char[] { '\0', 'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z', '\0' };
public static void main (String[] args)
{
final String message = "22-9-22-1-14 12-15-19 16-1-20-15-19 4-5 12-1 16-9-19-3-9-14-1";
final String[] words = message.split("\\s+");
String decrypted = "";
for(final String word : words)
{
if (word.length() > 0)
{
final String[] letters = word.split("\\D+");
int i = 0;
for(final String letter : letters)
{
final int n = Integer.parseInt(letter);
// System.out.println(n);
if (n > 0 && n < 27)
{
if (i < 1)
{
decrypted += alphabet_upper[n];
}
else
{
decrypted += alphabet_lower[n];
}
}
++i;
}
}
decrypted += " ";
}
System.out.println(decrypted);
}
}