Which male executive producer , writer , and producer of M0 did M1 influence
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.producer.films_executive_produced M0 .
?x0 ns:film.producer.film|ns:film.production_company.films M0 .
?x0 ns:film.writer.film M0 .
?x0 ns:influence.influence_node.influenced_by M1 .
?x0 ns:people.person.gender ns:m.05zppz
}