# A and B sat in the tree.
# A had fallen, B was stolen.
# What's remaining in the tree?

a = str(input("Enter your name А "))
b = str(input("Enter your name B "))

print(a + " " + "and" + " " + b + " " + "sat in the tree.")
print(a + " " + "had fallen," + b + " " + "was stolen.")
print("What's remaining in the tree?")



