Task: Program Execution
Input (English): 5, 5, ['3281', 'Z', '2295', '4673', '5375', '3205', 'X', 'K', 'Y', '1731', '6001', '5395', '5517', 'N', '6861', 'f', '1427', 'C', '2511', '1153', '2137', 'J', '5449', '4955', 'z', 'T']
Output (English): 5375, 1731, 6861, 1153, z