import re
import random


def choose(phenny, input):
    """.choose <red> <blue> - for when you just can't decide"""
    origterm = input.groups()[1]
    if not origterm:
        return phenny.say(".choose <red> <blue> - for when you just can't decide")
    c = re.findall(r'([^, ]+)', origterm)
    fate = random.choice(c).strip()
    return phenny.reply("%s" % (fate))