Task: Program Execution
Input (English): 2, 4, ['Z', '927', '7821', '7033', 'Z', '5175', 'p', 'M', '2831', 'T']
Output (English): 927, 5175, T