p26 forum solution in c