Sensei's Library, problem 265

Adapted from Beginner Exercise 265 · OpenContent License

All problems