#player picks random number
#computer tries to guess

print 'Pick number between 1 and 10, including 10'
import random
x = random.randrange(11)
print 'Is your number', x, '?'
y = ''
while True:
	if y != 'Correct':
		y = raw_input('Input whether your guessed number is \'Correct\', \'Higher\', \'Lower\' \n')
	if y == 'Lower':
		x -= 1
		print 'Is your number', x, '?'
	elif y == 'Higher':
		x += 1
		print 'Is your number', x, '?'
	elif y == 'Correct':
		print 'Good game'		
		break
raw_input('\n\nPress \'Enter\' to exit')
	 # your cock goes here