input: Write a function to predict the class labels of a given set of data. The dataset contains 4 features: Length, Width, Height and Weight.
  assert predict([1.0, 2.0, 3.0, 4.0])==[0]
  assert predict([4.0, 3.0, 2.0, 1.0])==[1]
  assert predict([2.5, 3.5, 5.0, 6.0])==[2]
  assert predict([10.0, 9.0, 8.0, 7.0])==[3]
  assert predict([1.5, 3.5, 2.5, 4.5])==[1]
output: def predict(data):
      if data[0] < data[1] and data[2] < data[3]:
          return [0]
      elif data[0] > data[1] and data[2] > data[3]:
          return [1]
      elif data[0] < data[2] and data[1] < data[3]:
          return [2]
      elif data[0] > data[2] and data[1] > data[3]:
          return [3]
      else:
          return [1]