Sensei's Library, problem 150

Adapted from Beginner Exercise 150 · OpenContent License

All problems