Task: Program Execution
Input (English): 4, 12, ['2583', 'p', '7321', 'G', 'R', '5443', '4801', '279', '8705', 'C', '3505', '4389', '445']
Output (English): G, R, 5443, 4801, 279, 8705, C, 3505, 4389