Task: Program Execution
Input (English): 2, 2, ['r', '7573', '511', '4755', '5915', '1965', '3623', '5153', 'R', '6601', 'b', '7285', 'Q', '9953', '4565', 'E', '4091']
Output (English): 7573, 4755, 1965, 5153, 6601, 7285, 9953, E