Task: Program Execution
Input (English): 2, 4, ['127', '6657', '5931', 'X']
Output (English): X, 5931, 6657