# Pranav Abbaraju
# Variables Lab

year = int(raw_input("What year is it? "))
name = raw_input("What is your name? ")
age = int(raw_input("How old are you? "))

year = year - age

print "Your name is " + name + " and you are " + str(age) + " years old"
print "You were born in " + str(year)