Task: Program Execution
Input (English): 3, 3, ['1303', 'X', 'w', '8809', 'm', 'Q', 'D', 'i', 'N', '4553', '1087', '9653', '9107', 'e', '5351', '4067', 'I', '277', 'F']
Output (English): w, Q, N, 9653, 5351, 277