main = do
  print $ take 20 triangles

  print $ solve 2
  print $ solve 3
  print $ solve 4
  print $ solve 5
  print $ solve 501
main = do
  print $ take 20 triangles

  print $ solve 2
  print $ solve 3
  print $ solve 4
  print $ solve 5
  print $ solve 501
main = do
  print $ take 20 triangles

  print $ solve 2
  print $ solve 3
  print $ solve 4
  print $ solve 5
  print $ solve 501