Task: Program Execution
Input (English): 1, 2, ['P', 'F', '7147']
Output (English): P, F