https://jacoby.github.io/2021/10/05/mr-smith-squares-off-the-weekly-challenge-133.html