Task: Program Execution
Input (English): g, a, 8689, K, o, 7295, b, g, 1735, R, z, 2315, M, 955, 6603, 4261, O, 3621, M, A, 3127, 3303, 5677, 4673
Output (English): 12