Task: Program Execution
Input (English): 2, 2, ['D', '4493', 's', '4707', '2031', '9783', 'K', 'W', '8831', '6173']
Output (English): 4493, 4707, 9783, W, 6173