Task: Program Execution
Input (English): 5, 8, ['J', 'E', '7171', 'A', '9633', '7149', '787', '2481']
Output (English): 2481, 787, 7149, 9633