Task: Program Execution
Input (English): 5061, Q, 1913, J, Q, 7123, i, 2439, 845, 8691, 5161, f
Output (English): 2, 4, 5, 7, 12