Task: Program Execution
Input (English): 5, 10, ['V', 'R', 'j', 'u', 'q', '6049', 'j', 'y', '6097', 'F']
Output (English): F, 6097, y, j, 6049, q