Direction: Study the following information and answer the following question.
| Letter | O | T | L | R | A | C | P | S | D | M | I | B | U | N | G |
E |
Y |
| Digit/Symbol | @ | 5 | $ | 8 | & | 1 | % | 7 | # | 3 | ? | 9 | + | 4 | Ø | 6 | 2 |
Conditions:
1) If the first letter is a vowel and the last letter is a consonant then both are coded with the code of the vowel.
2) If both the first and the last letters are consonants, then their codes are to be interchanged.
3) If the first letter is a consonant and the last letter is a vowel, both are to be coded as the code for the consonant.
4) If both the first and last letters are vowels then both are coded as the code of the second letter.
The coded strings generated from the previous procedure are used to operate decoration lights such as Red, Green, Violet, Yellow, and Off (No light). If the numerical value of the string is from 1 to 20 then the Yellow light switches on. If the numerical value of the string is from 21 to 45 then the Red light switches on. If the numerical value of the string is from 46 to 78 then the Green light switches on. If the numerical value of the string is from 79 to 80 then the light switches off (No light). If the numerical value of the string is from 80 to 100 then the Violet light switches on.
Apart from these values, no light switches on. To get the numerical values from coded strings following conditions must be applied to them accordingly:
I) If the coded string has only 2 digits then the numerical value will be the sum of squares of the digits.
II) If the coded string has only 3 digits then the numerical value will be the product of digits.
III. If the coded string has only 4 digits then the numerical value will be the sum of the digits.
IV) If the coded string has more than 4 digits then the numerical value will be the cube of the highest digit.
Note - Repetition of digits is allowed. For example, if the coded string contains '11' then there will be two digits.