Task: Program Execution
Input (English): J, 6903, 5827, 7747, 4379, 9175, J
Output (English): 2, 3, 4, 5, 6