Task: Program Execution
Input (English): 3, 8, ['G', '5813', 'J', 'i', '9619', 'x', '2237', '793', '1451', '3587', 'G', 'O', 'o', '8865', 'P', 'q', '621']
Output (English): J, G