
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        long N = scanner.nextLong();

        StringBuilder builder = new StringBuilder();
        while (N > 0) {
            N--;
            builder.append((char)('a' + N % 26));
            N /= 26;
        }

        System.out.println(builder.reverse());
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        long N = scanner.nextLong();

        StringBuilder builder = new StringBuilder();
        while (N > 0) {
            N--;
            builder.append((char)('a' + N % 26));
            N /= 26;
        }

        System.out.println(builder.reverse());
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        long N = scanner.nextLong();

        StringBuilder builder = new StringBuilder();
        while (N > 0) {
            N--;
            builder.append((char)('a' + N % 26));
            N /= 26;
        }

        System.out.println(builder.reverse());
    } main {
        Scanner scanner = new Scanner(System.in);

        long N = scanner.nextLong();

        StringBuilder builder = new StringBuilder();
        while (N > 0) {
            N--;
            builder.append((char)('a' + N % 26));
            N /= 26;
        }

        System.out.println(builder.reverse());
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) long N = scanner.nextLong(); N scanner.nextLong() scanner.nextLong scanner StringBuilder builder = new StringBuilder(); builder new StringBuilder() while (N > 0) {
            N--;
            builder.append((char)('a' + N % 26));
            N /= 26;
        } N > 0 N 0 {
            N--;
            builder.append((char)('a' + N % 26));
            N /= 26;
        } N-- N builder.append((char)('a' + N % 26)) builder.append builder (char)('a' + N % 26) 'a' N % 26 N 26 N /= 26 N 26 System.out.println(builder.reverse()) System.out.println System.out System System.out builder.reverse() builder.reverse builder String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        long N = scanner.nextLong();

        StringBuilder builder = new StringBuilder();
        while (N > 0) {
            N--;
            builder.append((char)('a' + N % 26));
            N /= 26;
        }

        System.out.println(builder.reverse());
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        long N = scanner.nextLong();

        StringBuilder builder = new StringBuilder();
        while (N > 0) {
            N--;
            builder.append((char)('a' + N % 26));
            N /= 26;
        }

        System.out.println(builder.reverse());
    }
} Main

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        long N = scanner.nextLong();

        StringBuilder builder = new StringBuilder();
        while (N > 0) {
            N--;
            builder.append((char)('a' + N % 26));
            N /= 26;
        }

        System.out.println(builder.reverse());
    }
}
