A group of numbers and symbols is coded using letter codes as per the codes given below and the conditions that follow. Study the given codes and conditions and answer the question that follows.
Note: If none of the conditions apply, then codes for the respective number/symbol are to be followed directly as given in the table.
Number/Symbol | 4 | # | $ | + | 7 | 9 | 2 | 6 | @ | 3 | & | 5 |
Code | B | W | Q | E | C | A | T | J | N | P | D | G |
Conditions:
(i) If the first element is a number and the last element is a symbol, then the codes for the first and last elements are to be interchanged.
(ii) If the first element is divisible by 2 and the last element is divisible by 3, then the first and last elements are to be coded as *
(iii) If the first element is a symbol and the last element is an even number, then their codes (i.e. first and last element) are to be changed to the code for 3.
Identify the code for the following.
56#4+