Sensei's Library, problem 330

Adapted from Beginner Exercise 330 · OpenContent License

All problems