# 15 Ugly solution. The second part took me a good minute to compute. Each line is done quite efficiently, it could def. be improved by sorting out what lines we should consider in the first place.
Solutions
  1. 1
  2. 13784551204480