The first option is a mystery. Why would anyone click randomly anywhere on a line? Furthermore, the ranges are not proportional, making it even more confusing. Ranges are meant for increasing values in a linear or logarithmic way.
input elements of type
range let the user specify a numeric value
which must be no less than a given value, and no more than another
given value. The precise value, however, is not considered important.
This is typically represented using a slider or dial control rather
than a text entry box like the number input type.
Because this kind of widget is imprecise, it should only be used if
the control's exact value isn't important.
However, in this case, you're using this element as an option selector, not a range. Therefore, I recommend using a select element, which is appropriate for your purpose and is also accessible. Using a range slider in this manner is equivalent to using words like "cake, car, cauliflower, cow." The relationship is not linear but random.
If you insist on using a range slider, I would recommend Option B, and as Mike M suggested, if you have granularity, add an input box, even though it won't be proportional.