Task: Program Execution
Input (English): 5, 5, ['S', '4225', '8823', '315', 'F', 'p', '4171', '991', '3279', 'E', '7727', '3565']
Output (English): F