# 9 Again the python std lib saved me some lines of code. `itertools` to the rescue and basically we are done.
Solutions
  1. 23278925
  2. 4011064