22.
In this question, a group of numbers/symbols is coded using letters as per the table given below and the conditions which follow. The code of the following is to be found.
Conditions:
i) If the first and last elements are numbers, then the last element will be replaced by the symbol @.
ii) If the first element is a symbol, then the first element will be coded as S.
iii) If the first and second elements are numbers, then the third element will be coded as *.
Find the code for: 5 6 * @ %