Task: Program Execution
Input (English): 3, 3, ['2675', '8425', '6995', 'P', '2573', 'd', '2099', '4307', '495', '7599', '7097', '7491', 'N', '6949', 'N', 'V', 'i', '2583', 'p', 'l', '1115', '3271', '791', 't', '5685', '5319']
Output (English): 6995, d, 495, 7491, N, 2583, 1115, t