input: from typing import List
  
  def predict(data: List[float]) -> int:
      """ Predicts the class label of a given set of data. The dataset contains 4 features: Length, Width, Height, and Weight.
      >>> predict([1.0, 2.0, 3.0, 4.0])
      0
      >>> predict([4.0, 3.0, 2.0, 1.0])
      1
      """
output:     if data[0] > data[1]:
          return 0
      else:
          return 1