Task: Program Execution
Input (English): J, q, U, 4307, E, 4699, 9739, D, 1809, 9901, 95, 8977
Output (English): 1, 2, 3, 5, 8