Sensei's Library, problem 245

Adapted from Beginner Exercise 245 · OpenContent License

All problems