Task: Program Execution
Input (English): 2, 12, ['Z', '1003', 'v', '2819', '2151', '7045', 'Q', 'u', 'Z', 'a', 'p', 's', 'h', '4597', 'o', '5793', '6299', 'k', '8683', '8293', '6995', '3625', '8273', 'y', '5927']
Output (English): 1003, 4597