#
# Python answers6.py
#
s_fn = raw_input('Enter your first name: ')
s_ln = raw_input('Enter your last name: ')
s_db_m = raw_input('Enter your date of birth:\n Month? ')
s_db_d = raw_input(' Day? ')
s_db_y = raw_input(' Year? ')

print s_fn,s_ln,'was born on',s_db_m,s_db_d+',',s_db_y+'.'
