Sensei's Library, problem 247

Adapted from Beginner Exercise 247 · OpenContent License

All problems