out = 0
max_out = -1
max_times = []

File.foreach('mlijobs.txt') do |line|
  out += line.include?()? 1: -1
  if out > max_out
    max_out = out
    max_times = []
  end
  max_times << line.split[3]  if out == max_out
end

puts 
max_times.each {|time| puts }