Complex sentence: Dmitry often quotes his grandfather in his television programs and attributes to him funny quotes when he jokes.
Split into simpler sentences: Dmitry often quotes grandfather in his television programs. Or attributes to him funny quotes when he jokes.