Task: Program Execution
Input (English): 4, ['Z', 'E', '6151', '8711', '791', '8905', '8873', 'X', '7021', 'a', 'K']
Output (English): 791, 8905, 8873, X, 7021, a, K