def evaluate_cards_to_take(laid_card, cards_to_take=0):
    """
    Function used to evaluate how many cards have to be taken as a punish.
    :param laid_card: tuple with last played card
    :param cards_to_take: integer value with earlier punishment
    :return: integer value with punishment after card played
    """
    if laid_card in [('hearts', 'K'), ('pikes', 'K')]:
        cards_to_take += 5

    value = laid_card[1]
    if value in ['2', '3']:
        cards_to_take += int(value)

    return cards_to_take