Task: Program Execution
Input (English): 2, 2, ['1189', 'J', 'G', '2301', '3969', 'T', 'n', '5377', 's', '2319', 'F', 'a']
Output (English): J, 2301, T, 5377, 2319, a