Task: Program Execution
Input (English): 1, 5, ['1247', 'B', 'E', 'r', 'P', 'b', 'Z', '4135']
Output (English): PrEB1247