Task: Program Execution
Input (English): 1, 4, ['487', '3313', 'E', '1479', '4741', 'T', '8817', 'M', 'H']
Output (English): 487, 4741, H