Task: Program Execution
Input (English): 5371, c, a, 2359, c
Output (English): a, c