'''
Created on 2012-9-11
@author: yuafengyun
'''
import random
if __name__ == '__main__':
print "hello! What's your name?"
yourname = raw_input();
print "Nice to meet you ." + yourname
print "Let's play a game"
print "I'm thinking a number between 1-20, Can you guss it?"
mynumber = random.randint(1,20);
gussTaken = 0
while gussTaken < 6:
num = int(input("your number:"))
if num == mynumber:
break;
elif num < mynumber:
print "Lower than my number."
else:
print "Higher than my number."
gussTaken = gussTaken+1
if gussTaken < 6:
print "you got it."
else:
print "you lost"
a = raw_input();
pass