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