Write a Python program to classify a given set of data into any two classes.
data = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
def classify_data(data):
 class_1 = []
 class_2 = []

 for value in data:
 if value % 2 == 0:
 class_1.append(value)
 else:
 class_2.append(value)

 return class_1, class_2