Liverpool and Manchester City have finished in the top four and qualified for the Champions League, denying Arsenal a place in Europe’s elite competition.