Sensei's Library, problem 264

Adapted from Beginner Exercise 264 · OpenContent License

All problems