import random


def dealer_response(x, y, z):  # 확률적으로 딜러의 대답을 결정
    """
    decide dealer's response
    :param x: first response probability
    :param y: second response probability
    :param z: third response probability
    :return: response
    """
    response = ["A"] * x + ["B"] * y + ["C"] * z
    random.shuffle(response)
    if response[0] == "A":
        return "A"
    elif response[0] == "B":
        return "B"
    elif response[0] == "C":
        return "C"