require("fs").readFileSync("/dev/stdin","utf8").split(/\s/).map(function(i){i?console.log(i<48?'light fly':i<51?'fly':i<54?'bantam':i<57?'feather':i<60?'light':i<64?'light welter':i<69?'welter':i<75?'light middle':i<81?'middle':i<91?'light heavy':'heavy'):0})