Task: Program Execution
Input (English): A, 8347, 1837, 9569
Output (English): 2, 3, 4