Sensei's Library, problem 250

Adapted from Beginner Exercise 250 · OpenContent License

All problems