// Write your solution for prac_q9 here!