Original: The quartet had a close relationship with composer Dmitri Shostakovich , who personally consulted with them on each of his quartets .
Simplified: The quartet knew the composer Dmitri Shostakovich very well .