Choose the best sentence that can be made from the words given.
noise/traffic/prevent/sleep.
A.The noise of the traffic prevented me going to sleep.
B.The noise of traffic prevented me from going to sleep.
C.The noise of the traffic prevented me to going to sleep.
D.The noise of the traffic prevented me from going to sleep.