Sensei's Library, problem 52

Adapted from Beginner Exercise 52 · OpenContent License

All problems