Task: Program Execution
Input (English): 2, 8, ['v', 'S', 'J', '7133', '7747', 'J', '863', 'p']
Output (English): SJ71337747J863p