Task: Program Execution
Input (English): 6, 10, ['4159', '8331', 'h', '9815', 'Q', 'p', 'i', 'p', 'i', '17', 'u', '4051', '481', '5039', 'N']
Output (English): pipi17