input: Write a python function to classify data points as 'green' for even numbers and 'red' for odd numbers.
  assert classify_data([1, 2, 3, 4, 5]) == ['red', 'green', 'red', 'green', 'red']
  assert classify_data([10, 15, 20, 25, 30]) == ['green', 'red', 'green', 'red', 'green']
  assert classify_data([7, 8, 9, 10, 11]) == ['red', 'green', 'red', 'green', 'red']
output: def classify_data(data):
      return ['green' if x % 2 == 0 else 'red' for x in data]