Task: Program Execution
Input (English): 7, 10, ['3053', '5297', 'S', '4037', 'F', '9355', '1637', 'x', '3161', '6751', '465', '8731', 'n', 'j', '2577', '7721']
Output (English): 1637, x, 3161, 6751