Task: Program Execution
Input (English): 3, 10, ['f', '8049', 'c', 'P', 'V', '3309', 'Z', 'W', '5197', 's']
Output (English): s, 5197, W, Z, 3309, V, P, c