Task: Program Execution
Input (English): 4, 15, ['g', 'S', '8929', '6791', '2549', 't', '6083', 'g', '1983', '5129', '3465', '7757', 'x', '3019', '4563', 'l', 'm', '3661', '7643', 'O']
Output (English): 36549103x7577564392153891g3806t94521976