Sensei's Library, problem 338

Adapted from Beginner Exercise 338 · OpenContent License

All problems