Task: Program Execution
Input (English): 6045, E, R, 3921, q, 4619, 1271, 2313, F, 2839
Output (English): 6