UK gained $32bn from EU migrants over 10 years