import java.util.Scanner; public class Main { public static void answer(long n){ char[] c = {'0','1','2','3','4','5','6','7','8','9','`','!','@','#','$','%', '^','&','*','(',')','{','}','\\','<','>','?'}; long temp = n; String answer = ""; while (temp != 0) { int x = (int)(temp % 27); answer = c[x] + answer; temp /= 27; } System.out.println(answer); } public static void main(String[] args) { Scanner in = new Scanner(System.in); long n = in.nextLong(); answer(n); } }