Task: Program Execution
Input (English): 3, 4, ['S', 'J', 'p', 'J', '125', 'i', 'e', 'Q', 'Y', 'Z', '2973']
Output (English): Jp