Solutions for half of the problems.