added p34 c solution