Inclusive π0 production in π+p,K+p andpp interactions at 250 GeV/c