Task: Program Execution
Input (English): 2, 7, ['6841', '3667', 'R', 'a', 'B', '5503', '5177', 'X', '5699', '1167', 'v', 'i', '4223', '1955', '4633']
Output (English): 3667, 5699