import random
messages = ['It is certain',
'It is decidedly so',
'Yes definitely',
'Reply hazy try again',
'Ask again later',
'Concentrate and ask again',
'My reply is no',
'Outlook not so good',
'Very doubtful']

var = 'yes'
while True:
    print(messages[random.randint(0,(len(messages) - 1))])
    print("Do you want to continue? (Y/N)")
    var = input()
    var = var.lower()
    if(not(var == 'y' or var == "yes")):
        break

