Task: Program Execution
Input (English): 4, ['1247', '827', 'Z', 'A', '4395', 'k', '6461', 'i', '151', '8603', 'N', 'Q', 'T', 'K', 'i']
Output (English): 1247, 827, Z, A