Two weeks later , " Hey Jude " was number one in the charts and held that position for nine weeks , the longest time spent by a Beatles ' single at number one , as well as being the longest - playing single to reach number one .