import java.util.*; public class Exercise36{ public static void main (String[] args){ Scanner sc = new Scanner(System.in); int number = sc.nextInt(); String[] alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""); String answer = getAlphabets(number, alphabet); System.out.println(answer); } private static String getAlphabets(int number, String[] alphabet){ int b = number % 26; if (number / 26 == 0){ return alphabet[b]; }else{ return getAlphabets(number / 26 - 1, alphabet) + alphabet[b]; } } }