Task: Program Execution
Input (English): 2, 3, ['5981', 'l', 'p', 'O']
Output (English): l, p