import java.util.Scanner;
public class Main {

    public static Scanner scanner = new Scanner(System.in);
    public static void main(String[] args) {
        long n=scanner.nextLong();
        String s="";
        while (n>0)
        {
            long i = n%26;
            if(i==0)
            {
                i=26;
            }
            char c= (char) (96+i);
            s+=c;
            if(n/26==1 && n<27)
                n=0;
            else if(n%26==0)
            {
                n=n/26-1;
            }
            else
            {
                n=n/26;
            }
        }
        for(int i=s.length()-1;i>=0;i--)
        {
            System.out.print(s.charAt(i));
        }

	// write your code here
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static Scanner scanner = new Scanner(System.in);
    public static void main(String[] args) {
        long n=scanner.nextLong();
        String s="";
        while (n>0)
        {
            long i = n%26;
            if(i==0)
            {
                i=26;
            }
            char c= (char) (96+i);
            s+=c;
            if(n/26==1 && n<27)
                n=0;
            else if(n%26==0)
            {
                n=n/26-1;
            }
            else
            {
                n=n/26;
            }
        }
        for(int i=s.length()-1;i>=0;i--)
        {
            System.out.print(s.charAt(i));
        }

	// write your code here
    }
} Main public static Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) public static void main(String[] args) {
        long n=scanner.nextLong();
        String s="";
        while (n>0)
        {
            long i = n%26;
            if(i==0)
            {
                i=26;
            }
            char c= (char) (96+i);
            s+=c;
            if(n/26==1 && n<27)
                n=0;
            else if(n%26==0)
            {
                n=n/26-1;
            }
            else
            {
                n=n/26;
            }
        }
        for(int i=s.length()-1;i>=0;i--)
        {
            System.out.print(s.charAt(i));
        }

	// write your code here
    } main {
        long n=scanner.nextLong();
        String s="";
        while (n>0)
        {
            long i = n%26;
            if(i==0)
            {
                i=26;
            }
            char c= (char) (96+i);
            s+=c;
            if(n/26==1 && n<27)
                n=0;
            else if(n%26==0)
            {
                n=n/26-1;
            }
            else
            {
                n=n/26;
            }
        }
        for(int i=s.length()-1;i>=0;i--)
        {
            System.out.print(s.charAt(i));
        }

	// write your code here
    } long n=scanner.nextLong(); n scanner.nextLong() scanner.nextLong scanner String s=""; s "" while (n>0)
        {
            long i = n%26;
            if(i==0)
            {
                i=26;
            }
            char c= (char) (96+i);
            s+=c;
            if(n/26==1 && n<27)
                n=0;
            else if(n%26==0)
            {
                n=n/26-1;
            }
            else
            {
                n=n/26;
            }
        } n>0 n 0 {
            long i = n%26;
            if(i==0)
            {
                i=26;
            }
            char c= (char) (96+i);
            s+=c;
            if(n/26==1 && n<27)
                n=0;
            else if(n%26==0)
            {
                n=n/26-1;
            }
            else
            {
                n=n/26;
            }
        } long i = n%26; i n%26 n 26 if(i==0)
            {
                i=26;
            } i==0 i 0 {
                i=26;
            } i=26 i 26 char c= (char) (96+i); c (char) (96+i) 96 i s+=c s c if(n/26==1 && n<27)
                n=0;
            else if(n%26==0)
            {
                n=n/26-1;
            }
            else
            {
                n=n/26;
            } n/26==1 && n<27 n/26==1 n/26 n 26 1 n<27 n 27 n=0 n 0 if(n%26==0)
            {
                n=n/26-1;
            }
            else
            {
                n=n/26;
            } n%26==0 n%26 n 26 0 {
                n=n/26-1;
            } n=n/26-1 n n/26-1 n/26 n 26 1 {
                n=n/26;
            } n=n/26 n n/26 n 26 for(int i=s.length()-1;i>=0;i--)
        {
            System.out.print(s.charAt(i));
        } int i=s.length()-1; int i=s.length()-1; i s.length()-1 s.length() s.length s 1 i>=0 i 0 i-- i-- i {
            System.out.print(s.charAt(i));
        } {
            System.out.print(s.charAt(i));
        } System.out.print(s.charAt(i)) System.out.print System.out System System.out s.charAt(i) s.charAt s i String[] args args public class Main {

    public static Scanner scanner = new Scanner(System.in);
    public static void main(String[] args) {
        long n=scanner.nextLong();
        String s="";
        while (n>0)
        {
            long i = n%26;
            if(i==0)
            {
                i=26;
            }
            char c= (char) (96+i);
            s+=c;
            if(n/26==1 && n<27)
                n=0;
            else if(n%26==0)
            {
                n=n/26-1;
            }
            else
            {
                n=n/26;
            }
        }
        for(int i=s.length()-1;i>=0;i--)
        {
            System.out.print(s.charAt(i));
        }

	// write your code here
    }
} public class Main {

    public static Scanner scanner = new Scanner(System.in);
    public static void main(String[] args) {
        long n=scanner.nextLong();
        String s="";
        while (n>0)
        {
            long i = n%26;
            if(i==0)
            {
                i=26;
            }
            char c= (char) (96+i);
            s+=c;
            if(n/26==1 && n<27)
                n=0;
            else if(n%26==0)
            {
                n=n/26-1;
            }
            else
            {
                n=n/26;
            }
        }
        for(int i=s.length()-1;i>=0;i--)
        {
            System.out.print(s.charAt(i));
        }

	// write your code here
    }
} Main
import java.util.Scanner;
public class Main {

    public static Scanner scanner = new Scanner(System.in);
    public static void main(String[] args) {
        long n=scanner.nextLong();
        String s="";
        while (n>0)
        {
            long i = n%26;
            if(i==0)
            {
                i=26;
            }
            char c= (char) (96+i);
            s+=c;
            if(n/26==1 && n<27)
                n=0;
            else if(n%26==0)
            {
                n=n/26-1;
            }
            else
            {
                n=n/26;
            }
        }
        for(int i=s.length()-1;i>=0;i--)
        {
            System.out.print(s.charAt(i));
        }

	// write your code here
    }
}
