Task: Program Execution
Input (English): 3, 5, ['1997', 'Q', 'Y', '3847', 'o', 'l', '2011', '9007', '9543', '9153', 'e', '2271', '8183', 'r', '5763', 'y', '8637', '4947']
Output (English): o7483Y