Task: Program Execution
Input (English): 2, 6, ['5815', 'O', 'k', 'X', '1757', 'n', '4463', 'y', '9785', '5861', '5911', '5953', '3521', 'P', 'W', 'Q', 'x', 'y']
Output (English): O, y, P