P21 solution
P22 solution