Sensei's Library, problem 302

Adapted from Beginner Exercise 302 · OpenContent License

All problems