P6 solution posted