The Keyboard Sonata in D major, Hob.XVI: 33 ( also known as Klaviersonate 33, Op. 41 no. 2) is piece composed by Franz Joseph Haydn in 1778 and first published in 1783. The piece has an average performance time of 17 minutes in a typical performance.