#!/usr/bin/env cscript
#include <stdio.h>
#include <string.h>
#define ALPHABET "ABCDEFGHIJKLMNOPWRSTUVWXYZ"
int
main(int argc, char *argv[]) {
int column_index = 52, needle_column_index_string;
char reverse_column_index_string[3 + 1],
column_index_string[3 + 1];
needle_column_index_string = 0;
column_index -= 1;
do {
reverse_column_index_string[needle_column_index_string++] = column_index % ('Z' - 'A' + 1) + 'A';
column_index /= ('Z' - 'A' + 1);
} while (column_index-- > 0);
for (needle_column_index_string = strlen(reverse_column_index_string);
needle_column_index_string >= 0; needle_column_index_string--) {
column_index_string[strlen(reverse_column_index_string) - needle_column_index_string - 1] = reverse_column_index_string[needle_column_index_string];
}
puts(column_index_string);
return 0;
}