Sensei's Library, problem 35

Adapted from Beginner Exercise 35 · OpenContent License

All problems