Program to generate UVA automatic answer code