prirority encoder 8x3 gives equivalent bits for digits from 0-7
given vector address 101 x1 x2 x3 00
first highest priority 101 0 00 00 i.e A0 (since vector addresses are starting from the one with the highest priority x1=x2=x3=0)
second highest priority 1010 0100 i.e A4 (x1=x2=0,x3=1)
so ans will be B