Sensei's Library, problem 28

Adapted from Beginner Exercise 28 · OpenContent License

All problems