24: is it cheating to use itertools?