Body A is placed on frictionless wedge making an angle with the horizon. The horizontal acceleration towards left to be imparted to the wedge for the body A to freely fall vertically, is-
A. `g sin theta`
B. `g cos theta`
C. `g tan theta`
D. `g cot theta`