x = int(input("How many pizzas do you want?: "))
y = int(input("How many pepperonis do you want?: "))
z = int(input("how many olives do you want?: "))
a = int(input("How many pizzas do you want?: "))
b = int(input("How many pepperonis do you want?: "))
c = int(input("how many olives do you want?: "))
h = int(input("How many pizzas do you want?: "))
i = int(input("How many pepperonis do you want?: "))
j = int(input("how many olives do you want?: "))
first = (x + a + h)/3
second = (y + b + i)/3
third = (z + c + j)/3
print( str(first) + " is the average of pizzas, " + str(second) + " is the average for pepperonis, " + str(third) + " is the average for olives.")