added p19 c solution