import java.util.Scanner;
public class Main {
     public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
       
        long n=sc.nextLong();
        printString(n);
       
      
          
        
        }
        
        
        
        private static void printString(long columnNumber) 
    { 
        // To store result (Excel column name) 
        StringBuilder columnName = new StringBuilder(); 
  
        while (columnNumber > 0) { 
            // Find remainder 
            long rem = columnNumber % 26; 
  
            // If remainder is 0, then a 
            // 'Z' must be there in output 
            if (rem == 0) { 
                columnName.append("z"); 
                columnNumber = (columnNumber / 26) - 1; 
            } 
            else // If remainder is non-zero 
            { 
                columnName.append((char)((rem - 1) + 'a')); 
                columnNumber = columnNumber / 26; 
            } 
        } 
  
        // Reverse the string and print result 
        System.out.println(columnName.reverse()); 
    } 
} import java.util.Scanner; Scanner java.util public class Main {
     public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
       
        long n=sc.nextLong();
        printString(n);
       
      
          
        
        }
        
        
        
        private static void printString(long columnNumber) 
    { 
        // To store result (Excel column name) 
        StringBuilder columnName = new StringBuilder(); 
  
        while (columnNumber > 0) { 
            // Find remainder 
            long rem = columnNumber % 26; 
  
            // If remainder is 0, then a 
            // 'Z' must be there in output 
            if (rem == 0) { 
                columnName.append("z"); 
                columnNumber = (columnNumber / 26) - 1; 
            } 
            else // If remainder is non-zero 
            { 
                columnName.append((char)((rem - 1) + 'a')); 
                columnNumber = columnNumber / 26; 
            } 
        } 
  
        // Reverse the string and print result 
        System.out.println(columnName.reverse()); 
    } 
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
       
        long n=sc.nextLong();
        printString(n);
       
      
          
        
        } main {
        Scanner sc = new Scanner(System.in);
       
        long n=sc.nextLong();
        printString(n);
       
      
          
        
        } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long n=sc.nextLong(); n sc.nextLong() sc.nextLong sc printString(n) printString n String[] args args private static void printString(long columnNumber) 
    { 
        // To store result (Excel column name) 
        StringBuilder columnName = new StringBuilder(); 
  
        while (columnNumber > 0) { 
            // Find remainder 
            long rem = columnNumber % 26; 
  
            // If remainder is 0, then a 
            // 'Z' must be there in output 
            if (rem == 0) { 
                columnName.append("z"); 
                columnNumber = (columnNumber / 26) - 1; 
            } 
            else // If remainder is non-zero 
            { 
                columnName.append((char)((rem - 1) + 'a')); 
                columnNumber = columnNumber / 26; 
            } 
        } 
  
        // Reverse the string and print result 
        System.out.println(columnName.reverse()); 
    } printString { 
        // To store result (Excel column name) 
        StringBuilder columnName = new StringBuilder(); 
  
        while (columnNumber > 0) { 
            // Find remainder 
            long rem = columnNumber % 26; 
  
            // If remainder is 0, then a 
            // 'Z' must be there in output 
            if (rem == 0) { 
                columnName.append("z"); 
                columnNumber = (columnNumber / 26) - 1; 
            } 
            else // If remainder is non-zero 
            { 
                columnName.append((char)((rem - 1) + 'a')); 
                columnNumber = columnNumber / 26; 
            } 
        } 
  
        // Reverse the string and print result 
        System.out.println(columnName.reverse()); 
    } StringBuilder columnName = new StringBuilder(); columnName new StringBuilder() while (columnNumber > 0) { 
            // Find remainder 
            long rem = columnNumber % 26; 
  
            // If remainder is 0, then a 
            // 'Z' must be there in output 
            if (rem == 0) { 
                columnName.append("z"); 
                columnNumber = (columnNumber / 26) - 1; 
            } 
            else // If remainder is non-zero 
            { 
                columnName.append((char)((rem - 1) + 'a')); 
                columnNumber = columnNumber / 26; 
            } 
        } columnNumber > 0 columnNumber 0 { 
            // Find remainder 
            long rem = columnNumber % 26; 
  
            // If remainder is 0, then a 
            // 'Z' must be there in output 
            if (rem == 0) { 
                columnName.append("z"); 
                columnNumber = (columnNumber / 26) - 1; 
            } 
            else // If remainder is non-zero 
            { 
                columnName.append((char)((rem - 1) + 'a')); 
                columnNumber = columnNumber / 26; 
            } 
        } long rem = columnNumber % 26; rem columnNumber % 26 columnNumber 26 if (rem == 0) { 
                columnName.append("z"); 
                columnNumber = (columnNumber / 26) - 1; 
            } 
            else // If remainder is non-zero 
            { 
                columnName.append((char)((rem - 1) + 'a')); 
                columnNumber = columnNumber / 26; 
            } rem == 0 rem 0 { 
                columnName.append("z"); 
                columnNumber = (columnNumber / 26) - 1; 
            } columnName.append("z") columnName.append columnName "z" columnNumber = (columnNumber / 26) - 1 columnNumber (columnNumber / 26) - 1 (columnNumber / 26) columnNumber 26 1 { 
                columnName.append((char)((rem - 1) + 'a')); 
                columnNumber = columnNumber / 26; 
            } columnName.append((char)((rem - 1) + 'a')) columnName.append columnName (char)((rem - 1) + 'a') (rem - 1) rem 1 'a' columnNumber = columnNumber / 26 columnNumber columnNumber / 26 columnNumber 26 System.out.println(columnName.reverse()) System.out.println System.out System System.out columnName.reverse() columnName.reverse columnName long columnNumber columnNumber public class Main {
     public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
       
        long n=sc.nextLong();
        printString(n);
       
      
          
        
        }
        
        
        
        private static void printString(long columnNumber) 
    { 
        // To store result (Excel column name) 
        StringBuilder columnName = new StringBuilder(); 
  
        while (columnNumber > 0) { 
            // Find remainder 
            long rem = columnNumber % 26; 
  
            // If remainder is 0, then a 
            // 'Z' must be there in output 
            if (rem == 0) { 
                columnName.append("z"); 
                columnNumber = (columnNumber / 26) - 1; 
            } 
            else // If remainder is non-zero 
            { 
                columnName.append((char)((rem - 1) + 'a')); 
                columnNumber = columnNumber / 26; 
            } 
        } 
  
        // Reverse the string and print result 
        System.out.println(columnName.reverse()); 
    } 
} public class Main {
     public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
       
        long n=sc.nextLong();
        printString(n);
       
      
          
        
        }
        
        
        
        private static void printString(long columnNumber) 
    { 
        // To store result (Excel column name) 
        StringBuilder columnName = new StringBuilder(); 
  
        while (columnNumber > 0) { 
            // Find remainder 
            long rem = columnNumber % 26; 
  
            // If remainder is 0, then a 
            // 'Z' must be there in output 
            if (rem == 0) { 
                columnName.append("z"); 
                columnNumber = (columnNumber / 26) - 1; 
            } 
            else // If remainder is non-zero 
            { 
                columnName.append((char)((rem - 1) + 'a')); 
                columnNumber = columnNumber / 26; 
            } 
        } 
  
        // Reverse the string and print result 
        System.out.println(columnName.reverse()); 
    } 
} Main
import java.util.Scanner;
public class Main {
     public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
       
        long n=sc.nextLong();
        printString(n);
       
      
          
        
        }
        
        
        
        private static void printString(long columnNumber) 
    { 
        // To store result (Excel column name) 
        StringBuilder columnName = new StringBuilder(); 
  
        while (columnNumber > 0) { 
            // Find remainder 
            long rem = columnNumber % 26; 
  
            // If remainder is 0, then a 
            // 'Z' must be there in output 
            if (rem == 0) { 
                columnName.append("z"); 
                columnNumber = (columnNumber / 26) - 1; 
            } 
            else // If remainder is non-zero 
            { 
                columnName.append((char)((rem - 1) + 'a')); 
                columnNumber = columnNumber / 26; 
            } 
        } 
  
        // Reverse the string and print result 
        System.out.println(columnName.reverse()); 
    } 
}