Task: Program Execution
Input (English): 4, 10, ['X', 's', 'N', '387', '7509', '1297', '1729', '6529', 'M', 'W', 'w', '9341', '9315', 'x', '829', '7571', 'v', 'A', '4331', '8207', 'M', 'j', 'Q', 'i', 'R']
Output (English): 387, x, i