Task: Program Execution
Input (English): 1, 5, ['947', '8361', 'r', 's', '3715', 'P']
Output (English): 9478361rs3715