Task: Program Execution
Input (English): 3, 9, ['T', '1703', 'l', 'p', 'D', '3655', '7211', '3719', 'h', 't', 'L', '539', '6917', '6665', 'A', '367', 'M', '2635']
Output (English): l, 539