Sensei's Library, problem 270

Adapted from Beginner Exercise 270 · OpenContent License

All problems