Sensei's Library, problem 312

Adapted from Beginner Exercise 312 · OpenContent License

All problems