Task: Program Execution
Input (English): 6, ['P', '175', '9691', '5761', 'P', '913', '1875', '9015', '4981', '1505', '4491', '4015', 'X']
Output (English): P, 1875, X