Task: Program Execution
Input (English): a, 6335, 3461, 3031, 2473, r
Output (English): 1, 6