import java.util.Scanner;

public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    long n = sc.nextLong();
    String alphabet = "abcdefghijklmnopqrstuvwxyz";
    String name = "";
    while(n > 0){
      n--;
      long remain = n % 26l;
      name = alphabet.charAt((int)remain) + name;
      n = n / 26l;
    }
    System.out.println(name);
  }
} 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();
    String alphabet = "abcdefghijklmnopqrstuvwxyz";
    String name = "";
    while(n > 0){
      n--;
      long remain = n % 26l;
      name = alphabet.charAt((int)remain) + name;
      n = n / 26l;
    }
    System.out.println(name);
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    long n = sc.nextLong();
    String alphabet = "abcdefghijklmnopqrstuvwxyz";
    String name = "";
    while(n > 0){
      n--;
      long remain = n % 26l;
      name = alphabet.charAt((int)remain) + name;
      n = n / 26l;
    }
    System.out.println(name);
  } main {
    Scanner sc = new Scanner(System.in);
    long n = sc.nextLong();
    String alphabet = "abcdefghijklmnopqrstuvwxyz";
    String name = "";
    while(n > 0){
      n--;
      long remain = n % 26l;
      name = alphabet.charAt((int)remain) + name;
      n = n / 26l;
    }
    System.out.println(name);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long n = sc.nextLong(); n sc.nextLong() sc.nextLong sc String alphabet = "abcdefghijklmnopqrstuvwxyz"; alphabet "abcdefghijklmnopqrstuvwxyz" String name = ""; name "" while(n > 0){
      n--;
      long remain = n % 26l;
      name = alphabet.charAt((int)remain) + name;
      n = n / 26l;
    } n > 0 n 0 {
      n--;
      long remain = n % 26l;
      name = alphabet.charAt((int)remain) + name;
      n = n / 26l;
    } n-- n long remain = n % 26l; remain n % 26l n 26l name = alphabet.charAt((int)remain) + name name alphabet.charAt((int)remain) + name alphabet.charAt((int)remain) alphabet.charAt alphabet (int)remain name n = n / 26l n n / 26l n 26l System.out.println(name) System.out.println System.out System System.out name String[] args args public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    long n = sc.nextLong();
    String alphabet = "abcdefghijklmnopqrstuvwxyz";
    String name = "";
    while(n > 0){
      n--;
      long remain = n % 26l;
      name = alphabet.charAt((int)remain) + name;
      n = n / 26l;
    }
    System.out.println(name);
  }
} public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    long n = sc.nextLong();
    String alphabet = "abcdefghijklmnopqrstuvwxyz";
    String name = "";
    while(n > 0){
      n--;
      long remain = n % 26l;
      name = alphabet.charAt((int)remain) + name;
      n = n / 26l;
    }
    System.out.println(name);
  }
} Main
import java.util.Scanner;

public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    long n = sc.nextLong();
    String alphabet = "abcdefghijklmnopqrstuvwxyz";
    String name = "";
    while(n > 0){
      n--;
      long remain = n % 26l;
      name = alphabet.charAt((int)remain) + name;
      n = n / 26l;
    }
    System.out.println(name);
  }
}