Thats a statement not a question
Yes, the D train is what you want.
I'm waiting for B train to Brighton beach for 40 minutes, is it any problems with the train?
Yes, and please make it in form of a question.
Thanks! Your answer is awaiting moderation.