Task: Program Execution
Input (English): 6, ['J', 'T', 'H', 'G', '1777', 'F', '9295', '5181', '9381', '8861', '3581', 'A', '9015']
Output (English): J, T, H, G, 1777, F