input: Write a python function to classify data based on whether the input is even or odd using the classify_data function.
  assert classify_data(2) == 0
  assert classify_data(3) == 1
  assert classify_data(10) == 0
  assert classify_data(7) == 1
output: def classify_data(n):
      return 0 if n % 2 == 0 else 1