Task: Program Execution
Input (English): n, o, 2909, J, 109, 1871
Output (English): 1, 2, 4