Task: Program Execution
Input (English): 7, 10, ['3163', '6261', 'W', 'g', 'j', 'u', '3685', '139', 'P', 'X', '7487', '1849', '7725', '9557']
Output (English): X, P, 139, 3685