import random


def random_correct_answer_message(correct_answer, points):
    """ Return a random encouraging phrase for getting a right answer """
    phrases = [
        "Nailed it!",
        "Nice one!",
        "Great work!",
        "You got it!",
        "Woohoo, nice job!",
        "You're amazing!",
        "Crushed it!"
    ]

    exclamations = [
        "Booyah!",
        "Bling, bling!",
        "Yowza!",
        "Hooray!",
        "Huzzah!"
    ]

    phrase = phrases[random.randint(0, len(phrases) - 1)]
    exclamation = exclamations[random.randint(0, len(exclamations) - 1)]

    return """
    <amazon:emotion name="excited" intensity="high">
    {} 
    The word was {}. 
    {} 
    You got {} points!
    </amazon:emotion>
    """.format(phrase, correct_answer, exclamation, points)