Chapter 1. Task 4. Fix grammar error and optimize code.