Sensei's Library, problem 262

Adapted from Beginner Exercise 262 · OpenContent License

All problems