I think B is correct. Generally, whether to use "a" or "an" in English is decided by the first letter of the word it is modifying. If the word it is modifying begins with a consonant (anything except a,e,i,o,u), you would use "a".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.