Task: Program Execution
Input (English): 3127, 1903, 609, 1965, c, a
Output (English): a, c