Allegri and Galliani chose Thiago