Task: Program Execution
Input (English): 6, 10, ['o', '1801', 'p', '2139', '6065', '4899', 'a', 'Q', 'a', 'X', 'k']
Output (English): XaQa9984