Task: Program Execution
Input (English): 3, 4, ['f', '2017', 'Y', 'P']
Output (English): YP