Task: Program Execution
Input (English): T, 5217, 4131, 6799, Z, g, 6017, T, G, F, l, 1087
Output (English): 5