solved: q2.52