Task: Program Execution
Input (English): 1, 6, ['K', '7305', '9719', '7247', 'G', 'N', '5545', 'C', '5309', '6101', 'N', '4767', 'p', 'j']
Output (English): N, G, 7247, 9719, 7305, K