import random
import itertools
x = random.randrange(10) + 1
for count in itertools.count(1):
y = int(raw_input('I\'ve picked a number. Make a guess!\n'))
if y != x:
print 'Wrong guess!'
else:
break
print count
raw_input('\n\nP')
aW1wb3J0IHJhbmRvbQppbXBvcnQgaXRlcnRvb2xzCnggPSByYW5kb20ucmFuZHJhbmdlKDEwKSArIDEKZm9yIGNvdW50IGluIGl0ZXJ0b29scy5jb3VudCgxKToKCXkgPSBpbnQocmF3X2lucHV0KCdJXCd2ZSBwaWNrZWQgYSBudW1iZXIuIE1ha2UgYSBndWVzcyFcbicpKQoJaWYgeSAhPSB4OgoJCXByaW50ICdXcm9uZyBndWVzcyEnCgllbHNlOgoJCWJyZWFrCgpwcmludCBjb3VudApyYXdfaW5wdXQoJ1xuXG5QJyk=