Table show alphabet serial number –
| Alphabets | A | B | C | D | E | F | G | H | I | J | K | L | M |
| Positional value | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| Positional value | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 |
| Alphabets | Z | Y | X | W | V | U | T | S | R | Q | P | O | N |
The pattern for the code is as follows,
BUTTON →
B = 2, U = 21, T = 20, T = 20, O = 15, N = 14 → 22120201514
Similarly,
DEGREE → D = 4, E = 5, G = 7, R = 18, E = 5, E = 5 → 4571855
In the same way,
FINISH → F = 6, I = 9, N = 14, I = 9, S = 19, H = 8 → 69149198
Hence, GUN is coded as 69149198.