Sensei's Library, problem 322

Adapted from Beginner Exercise 322 · OpenContent License

All problems