George Martin contributed more to the music than The Beatles did actually.
The second half was music written completely by him, and The Beatles really had no involvement with it.
It was an awesome movie too, on DDD I edit a list of the all time greatest animated films and Yellow Submarine is #11.