Given the task definition and input, reply with output. In this task, you are given a question. You have to answer the question based on your information.

Which composer worked closely with both Joseph Sonnleithner and Luigi Cherubini both in personal and professional capacities?
Ludwig van Beethoven