Task: Program Execution
Input (English): 3, 6, ['43', '6205', '8923', '7383', 'p', 'h', 'd', 'B', '9579', '1863', '627', 'H', '9471']
Output (English): h, p, 7383, 8923