Task: Program Execution
Input (English): 2, 6, ['X', '2563', '7397', 'h', 'J', 'V', '7607', 'Q', '6955', 'a', 'E', '7489', 'A']
Output (English): 2563, Q