from random import *

def main():
    done = False
    while not done:
        response = raw_input( "Would you like an addition problem? yes or no: " )
        if response == "no":
            done = True
        else:
            first = randint(1, 12)
            second = randint(1, 12)
            print "%d + %d = " % (first, second),
            answer = input()
            if answer == first+second:
                print "Right!"
            else:
                print "No, %d + %d = %d" % (first, second, first+second)

main()
