post HW2 solution