Task: Program Execution
Input (English): 2, 3, ['C', '1131', '4747', 'P', '1649', 'a', '7709', 'x']
Output (English): 1131, 4747