and print it out with a heap of else if statements like
Or, more sensibly, a single if/else and a for loop.