Task: Program Execution
Input (English): 7, 9, ['z', '6129', '2879', '8831', '3963', '7547', '6459', '9747', 'k', 'P', 'p', 'H', 'X']
Output (English): k, 9747, 6459