if gets.chars.tally == gets.chars.tally puts "YES" else puts "NO" end