# LOL.py
# Skeleton by Profs Van Loan & Lee (cs-1110profs-L@cornell.edu) and A. Parkhurst (anp56@cornell.edu)
# PLACE YOUR NAME(S) AND NETID(S) HERE
# Feb 2016
""" Explores how long it takes you to enter a given random length-3 string."""

from datetime import datetime
from random import choice

## The only variables you need to know about:
# S1 is the random test string
# S2 is the response string
# t1 is the first timestamp string
# t2 is the second timestamp string

alfa = 'abcdefghijklmnopqrstuvwxyz' # you can make the challenge easier by deleting characters
x = raw_input('Press the return key when you are ready.')
S1 = choice(alfa) + choice(alfa) + choice(alfa)
prompt1='The test string: '
prompt2='Enter the test string as fast as you can: '
print '\n' + ' '*(len(prompt2) - len(prompt1)) + prompt1 + S1 # get colons lined up
# First time stamp...
t1 = str(datetime.utcnow())
S2 = raw_input(prompt2)
# Second time stamp
t2 = str(datetime.utcnow())

# Display the two timestamps...
print '\n' + t1 + '\n' + t2

###### Only add code below this line ##############################