Task: Program Execution
Input (English): 4, 11, ['4961', '3369', 'P', 'a', '6917', 'g', '4163', '7113', '3561', '2933', 'S', '9945', '6625', '2323', 'h', 'r', 'x', 'N']
Output (English): S2933356171134163g6917a