Speed input and output sensors

Where is the location of the speed input and output sensor on a 2006 clk 500 722.9 liter engine