Task: Program Execution
Input (English): 10, 11, ['J', '4311', 'B', '7391', '1975', '1183', 'J', '6739', '2161', 'q', 'W', 'O', 'J', '1895']
Output (English): W, q