Sensei's Library, problem 333

Adapted from Beginner Exercise 333 · OpenContent License

All problems