Sensei's Library, problem 305

Adapted from Beginner Exercise 305 · OpenContent License

All problems