Sensei's Library, problem 311

Adapted from Beginner Exercise 311 · OpenContent License

All problems