Sensei's Library, problem 228

Adapted from Beginner Exercise 228 · OpenContent License

All problems