#encoding:utf-8
weights = []
while true
 weight = gets.chomp
 if weight == ""
  break
 end
 weights.push weight.to_f
end

i = 0
while i < weights.length
 if weights[i] <= 48.00
  puts "light fly"
 elsif weights[i] > 48.00 && weights[i] <= 51.00
  puts "fly"
 elsif weights[i] > 51.00 && weights[i] <= 54.00
  puts "bantam"
 elsif weights[i] > 54.00 && weights[i] <= 57.00
  puts "feather"
 elsif weights[i] > 57.00 && weights[i] <= 60.00
  puts "light"
 elsif weights[i] > 60.00 && weights[i] <= 64.00
  puts "light welter"
 elsif weights[i] > 64.00 && weights[i] <= 69.00
  puts "welter"
 elsif weights[i] > 69.00 && weights[i] <= 75.00
  puts "light middle"
 elsif weights[i] > 75.00 && weights[i] <= 81.00
  puts "middle"
 elsif weights[i] > 81.00 && weights[i] <= 91.00
  puts "light heavy"
 else
  puts "heavy"
 end 
 i += 1
end