Sensei's Library, problem 319

Adapted from Beginner Exercise 319 · OpenContent License

All problems