Published HW4 solutions variants