Day 4 solutions