Task: Program Execution
Input (English): 7, 8, ['3141', '2225', 'Q', 'o', 'i', 'v', '1509', 'Q', 'r', 'v']
Output (English): Q1509