Sensei's Library, problem 15

Adapted from Beginner Exercise 15 · OpenContent License

All problems