Part4
Part4 solution