Task: Program Execution
Input (English): 1, ['P', 'D', '381', '5607']
Output (English): P