Task: Program Execution
Input (English): 2, 9, ['6877', 'X', 'm', 'y', '9467', '5679', 'J', 'h', '4363', '9517', 'V', 'W', '4431', '1501', '9959', 'B', 'J', 'b']
Output (English): X, V