Task: Program Execution
Input (English): 9, 10, ['n', 'K', '6035', '7831', '9359', 'b', '2607', '1723', 'A', 'X', '7023', 'Z', 'T', '5491']
Output (English): X, A