# --------------------- # writer answer 2a require 'prime' l,h=gets.split(" ").map(&:to_i) m=nil;t=nil Math::sqrt(h).to_i.downto(2){|n| next if h/n*n