Task: Program Execution
Input (English): 6, 15, ['q', '4777', '8995', '9093', '5175', '6787', '7485', '777', '4989', 'Q', 'z', '95', '6139', '7785', '3567', 'S', '6247', 'S']
Output (English): 76535877931659zQ989477758477876