Task: Program Execution
Input (English): 7, 12, ['j', '2805', '541', 'b', 'f', '1367', '3057', 'c', 'Z', 'o', 'M', '5081', '9865']
Output (English): 5081, M, o, Z, c, 3057