'''
Card counting strategy is based on Hi-Lo
'''
def count(deck):
    count = 0
    for card in deck:
        if card[0].isalpha():
            count -= 1
        else:
            num = int(card[0])
            if num == 1:
                count -= 1
            elif num != 1 and num < 7:
                count += 1
    if count > 0:
        return '+' + str(count)
    else:
        return count

67dc54981574070a2123db6e1034249fd9e80c99
<mask token>

<mask token>


def count(deck):
    count = 0
    for card in deck:
        if card[0].isalpha():
            count -= 1
        else:
            num = int(card[0])
            if num == 1:
                count -= 1
            elif num != 1 and num < 7:
                count += 1
    if count > 0:
        return '+' + str(count)
    else:
        return count

'''
Card counting strategy is based on Hi-Lo
'''
def count(deck):
    count = 0
    for card in deck:
        if card[0].isalpha():
            count -= 1
        else:
            num = int(card[0])
            if num == 1:
                count -= 1
            elif num != 1 and num < 7:
                count += 1
    if count > 0:
        return '+' + str(count)
    else:
        return count
