Task: Program Execution
Input (English): A, 2847, a, 2291
Output (English): 1, 3