Choose the correctly punctuated sentence

choose the correctly punctuated sentence

A. If a driver gets lost on the road, a GPS can be useful
B. If a driver gets lost on the road a GPS can be useful.