Sensei's Library, problem 320

Adapted from Beginner Exercise 320 · OpenContent License

All problems