Element 7 2 A D 6 8 O 3 J I V 5 E 4 P 9 
Code $ @ < X } / & * > Y % # Z ! ? Q 
Condition 1: 
If first element is a vowel and last element is a number then the codes are to be interchanged. 
Condition 2: 
If first element is a consonant and last element is a vowel then both of them are to be coded as middle element. 
Condition 3: 
If first element is an odd digit and last element is an even digit then the code will be written in reversed order. Condition 4: 
If any element appears twice in a code then it will be coded as L. 
Note: If two or more conditions are applicable in single code then Condition 1 will be given 1st priority, Condition 2 will be given 2nd priority, Condition 3 will be given 3rd priority and Condition 4 will be given 4th priority. And position of all elements in the code will be taken from the left end.
Question: What would be the code of '9D8O3J4'?
Options:
A. !>*&/XQ, B. XQ!>*&/, C. !>*&QX/, D. XQ!>&*/, E. None of these
Answer: A