#!/usr/bin/env cscript
#include <stdio.h>
#include <string.h>
#define ALPHABET "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
int
main(int argc, char *argv[]) {
int value, needle;
char column_index[3 + 1];
for (needle = 0, value = 1; value > 0; value /= strlen(ALPHABET), needle++) {
column_index[needle] = ALPHABET[value % strlen(ALPHABET)] - 1;
}
printf("[%s]\n", column_index);
}