Task: Program Execution
Input (English): X, 7207, 1861, y, 1137, A, 5777, c, 5599
Output (English): 5