def weight_to_duro(weight, boardside=True):
  """ 
  Takes a weight in KG and returns an appropriate duro bushing. 
  """

  bushings = [78, 81, 85, 87, 90, 93, 95, 97]

  if not boardside:
    weight -= 5

  weight -= 40
  if weight < 0:
    weight = 0
  approx_duro = ((weight) ** 0.66 ) + 79

  duro = min(bushings, key=lambda x:abs(x-approx_duro))

  return str(duro) + 'a'