Create a program in Python to extract the first and last names from a string of full names.
Elizabeth W. Jennings
names = input().split()

first_name = names[0]
last_name = names[-1]

print('First Name:', first_name)
print('Last Name:', last_name)