# Kelvin Ly
# 10/07/12
# Part G: Determines who won the track meet.

# Get all the input.
a = input("Runner #1, what is your name?\n")
atime = float(input("What was your time?\n"))

b = input("Runner #2, what is your name?\n")
btime = float(input("What was your time?\n"))

c = input("Runner #3, what is your name?\n")
ctime = float(input("What was your time?\n"))

# There's no particularly elegant way to do this, so I'll just use
# the most straightforward one.
if atime < btime and atime < ctime:
	
	# Runner A won.
	print("The winner of the race was ", a, "!", sep="")
elif btime < atime and btime < ctime:
	
	# Runner B won.
	print("The winner of the race was ", b, "!", sep="")

else:
	
	# Runner C won.
	print("The winner of the race was ", c, "!", sep="")

