Sensei's Library, problem 58

Adapted from Beginner Exercise 58 · OpenContent License

All problems