solve p004