Task: Program Execution
Input (English): 10, 25, ['l', '603', 'b', 'd', '207', 'r', '7593', 'G', '8117', '2415', 'B', '1285', '1581', 'r', 'M', '4549', 's', '1175', '1051', 'E', '6545', '8177', 'o', '4977', '2987', '7795', 's', 'H']
Output (English): 2987, 4977, o, 8177, 6545, E, 1051, 1175, s, 4549, M, r, 1581, 1285, B, 2415