def score_combat(deck: list[int]) -> int:
    """
    Score the winning deck

    :param deck: winning deck of cards
    :return: score
    """

    coefficient = len(deck)
    score = 0
    for card in deck:
        print(f'+ {card:2d} * {coefficient:2d}')
        score += coefficient * card
        coefficient -= 1
        if 0 == coefficient:
            break
    return score