Task: Program Execution
Input (English): 2, 4, ['759', '3797', 'P', '6119', '7147']
Output (English): 3797P6119