What Beatles song did all 4 members of the group help write?

Flying on magical mystery tour.