Task: Program Execution
Input (English): 2, ['6197', 'x', '6975', '3979', '2531', '5051', '361', 'S', 'v', '4179', '9381']
Output (English): 6197, 6975, 2531, 361, v, 9381