Task: Program Execution
Input (English): 3, 28, ['451', 'J', 'H', '5981', '2601', '2533', '597', 'x', '2385', 'O', '1071', 'J', 'P', '8987', '7205', '9681', 's', '867', '705', 't', '2643', '6265', 't', 'z', '1091', '1451', '4057', 'P', '9429', '1565']
Output (English): P, 4057, 1451, 1091, z, t, 6265, 2643, t, 705, 867, s, 9681, 7205, 8987, P, J, 1071, O, 2385, x, 597, 2533, 2601, 5981, H