Task: Program Execution
Input (English): 4, 10, ['m', 'S', 'C', 'K', 'C', 'r', '3129', 'R', '2625', '4309', '3151', '8107', '8265', '9577', 'n', 'T', 'C', 'X', '4955', 'S', '8527', 'B', 'U', '7509']
Output (English): K, 9577, 7509