fossil_def = gets.chomp.gsub('.','').to_i fossil_judge = gets.chomp.gsub('.','').to_i puts (fossil_def >= fossil_judge) ? "YES" : "NO"