In which of the options parking is legal?

Multiple choice question
In which of the options parking is legal?
Within 50 feet of a railroad crossing
40 feet to a crosswalk at an intersection
Within 20 feet to the driveway entrance to a fire station