Task: Program Execution
Input (English): 4, 13, ['9613', 'X', 'n', '741', '4063', '7199', '4807', '4709', '1251', '5203', '8553', '3777', 'R', 'S']
Output (English): 741, 4063, 7199, 4807, 4709, 1251, 5203, 8553, 3777, R