Buggy python submission (verdict: Runtime Error):
while True:
 w=float(input())
 if w<=48:
   judge='light fly'
 elif 48<=w<=51:
   judge='fly'
 elif 51<=w<=54:
   judge='bantam'
 elif 54<=w<=57:
   judge='feather'
 elif 57<=w<=60:
   judge='light'
 elif 60<=w<=64:
   judge='light welter'
 elif 64<=w<=69:
   judge='welter'
 elif 69<=w<=75:
   judge='light middle'
 elif 75<=w<=81:
   judge='middle'
 elif 81<=w<=91:
   judge='light heavy'
 elif w>=91:
   judge='heavy'  

 print(judge)

Fixed submission:
while True:
  try:
   w=float(input())
   if w<=48:
    judge='light fly'
   elif 48<=w<=51:
    judge='fly'
   elif 51<=w<=54:
    judge='bantam'
   elif 54<=w<=57:
    judge='feather'
   elif 57<=w<=60:
    judge='light'
   elif 60<=w<=64:
    judge='light welter'
   elif 64<=w<=69:
    judge='welter'
   elif 69<=w<=75:
    judge='light middle'
   elif 75<=w<=81:
    judge='middle'
   elif 81<=w<=91:
    judge='light heavy'
   else:
    judge='heavy'  
   print(judge)
  except EOFError:
   break

Buggy python submission (verdict: Runtime Error):
while True:
  w=float(input())
  if w<=48:
   judge='light fly'
  elif 48<=w<=51:
   judge='fly'
  elif 51<=w<=54:
   judge='bantam'
  elif 54<=w<=57:
   judge='feather'
  elif 57<=w<=60:
   judge='light'
  elif 60<=w<=64:
   judge='light welter'
  elif 64<=w<=69:
   judge='welter'
  elif 69<=w<=75:
   judge='light middle'
  elif 75<=w<=81:
   judge='middle'
  elif 81<=w<=91:
   judge='light heavy'
  elif w>91:
   judge='heavy'  
  print(judge)

Fixed submission:
while True:
  try:
   w=float(input())
   if w<=48:
    judge='light fly'
   elif 48<=w<=51:
    judge='fly'
   elif 51<=w<=54:
    judge='bantam'
   elif 54<=w<=57:
    judge='feather'
   elif 57<=w<=60:
    judge='light'
   elif 60<=w<=64:
    judge='light welter'
   elif 64<=w<=69:
    judge='welter'
   elif 69<=w<=75:
    judge='light middle'
   elif 75<=w<=81:
    judge='middle'
   elif 81<=w<=91:
    judge='light heavy'
   else:
    judge='heavy'  
   print(judge)
  except EOFError:
   break

Buggy python submission (verdict: Runtime Error):
while True:
  w=int(input())
  if w<=48:
   judge='light fly'
  elif 48<=w<=51:
   judge='fly'
  elif 51<=w<=54:
   judge='bantam'
  elif 54<=w<=57:
   judge='feather'
  elif 57<=w<=60:
   judge='light'
  elif 60<=w<=64:
   judge='light welter'
  elif 64<=w<=69:
   judge='welter'
  elif 69<=w<=75:
   judge='light middle'
  elif 75<=w<=81:
   judge='middle'
  elif 81<=w<=91:
   judge='light heavy'
  elif w>91:
   judge='heavy'  
  print(judge)

Fixed submission:
while True:
  try:
   w=float(input())
   if w<=48:
    judge='light fly'
   elif 48<=w<=51:
    judge='fly'
   elif 51<=w<=54:
    judge='bantam'
   elif 54<=w<=57:
    judge='feather'
   elif 57<=w<=60:
    judge='light'
   elif 60<=w<=64:
    judge='light welter'
   elif 64<=w<=69:
    judge='welter'
   elif 69<=w<=75:
    judge='light middle'
   elif 75<=w<=81:
    judge='middle'
   elif 81<=w<=91:
    judge='light heavy'
   else:
    judge='heavy'  
   print(judge)
  except EOFError:
   break

Buggy python submission (verdict: Time Limit Exceeded):
while True:
  try:
   w=float(input())
   if w<=48:
    judge='light fly'
   elif 48<=w<=51:
    judge='fly'
   elif 51<=w<=54:
    judge='bantam'
   elif 54<=w<=57:
    judge='feather'
   elif 57<=w<=60:
    judge='light'
   elif 60<=w<=64:
    judge='light welter'
   elif 64<=w<=69:
    judge='welter'
   elif 69<=w<=75:
    judge='light middle'
   elif 75<=w<=81:
    judge='middle'
   elif 81<=w<=91:
    judge='light heavy'
   else:
    judge='heavy'  
   print(judge)
  except:
   pass

Fixed submission:
while True:
  try:
   w=float(input())
   if w<=48:
    judge='light fly'
   elif 48<=w<=51:
    judge='fly'
   elif 51<=w<=54:
    judge='bantam'
   elif 54<=w<=57:
    judge='feather'
   elif 57<=w<=60:
    judge='light'
   elif 60<=w<=64:
    judge='light welter'
   elif 64<=w<=69:
    judge='welter'
   elif 69<=w<=75:
    judge='light middle'
   elif 75<=w<=81:
    judge='middle'
   elif 81<=w<=91:
    judge='light heavy'
   else:
    judge='heavy'  
   print(judge)
  except EOFError:
   break