R Programming Fundamentals Question 29