#!/usr/bin/env cscript
#include <stdio.h>
#define ALPHABET "ABCDEFGHIJKLMNOPQRSTUVWXYZ"

int
main(int argc, char *argv[]) {
	int column_index, needle;
	char string_column_index[3 + 1];

	for (column_index = 1, needle = 0; column_index > 0; column_index /= strlen(ALPHABET), needle++) {
		string_column_index[needle] = 'A' + column_index % strlen(ALPHABET) - 1;
	}

	puts(string_column_index);
}