2 of 6
deleted 426 characters in body
Leaky Nun
  • 47.3k
  • 5
  • 96
  • 274

#Pyth, 33 27 bytes

.vs+_XUtQUQ"+-*c^"m:+;d\-\_

Test suite.

Leaky Nun
  • 47.3k
  • 5
  • 96
  • 274