ProblemSet3_solutions_Spring2022 (7).R