Manchester City moved back into the top four and within nine points of Liverpool after their 3-3 draw at Newcastle.