# 🚨 Don't change the code below 👇
student_heights = input("Input a list of student heights ").split()
for n in range(0, len(student_heights)):
  student_heights[n] = int(student_heights[n])
# 🚨 Don't change the code above 👆


#Write your code below this row 👇
total_height = 0 
number_of_items = 0

for height in student_heights:
    total_height += height
    number_of_items += 1
print(total_height)
print(number_of_items)


average = round(total_height / number_of_items)
print(average)

