One does not have to go to a restaurant to have lunch.
Which of the following sentences is nonsensical?

A. "if you want to have lunch, you must choose a restaurant"
B. "if you want to have lunch, you can choose a restaurant"