#!/usr/bin/python
import itertools
import string
print (', '.join(["".join(c) for c in itertools.product(string.digits+string.uppercase,repeat=3)]))