Task: Program Execution
Input (English): 2, ['3815', 'X', '1635', 'x', '8655', '6995', '6831', '8461', 'I', 'l', '1199', '977', '8205', '6331', '3111', 'm', '7559', 'p', 'P', 'i', '5067', '5261', 'P', '7097']
Output (English): 3815, X