Task: Program Execution
Input (English): 3, 8, ['381', 'a', 'Z', '2985', '1513', 'X', '99', 'C', 'z', '2987', 'V', '4767', '6867', '7085', 'u', '5471', 'P', '2365', '8625', '4667', '8569', 'y', 'T']
Output (English): Z, V, 8625