print("Input three kinds of fruits: ")
fruit1 = input()
fruit2 = input()
fruit3 = input()
print("Fruits inputted in reverse order: ")
print(fruit3)
print(fruit2)
print(fruit1)

# Question: What if the number of fruits to be entered is large (e.g. 100)?
