def scrabble_score(word):
    """Calculates the scrabble score of a word"""
    score = {'a': 1, 'b': 3, 'c': 4, 'd': 1, 'e': 1, 'f': 4,
         'g': 2, 'h': 2, 'i': 1, 'j': 6, 'k': 4, 'l': 2,
         'm': 3, 'n': 1, 'o': 2, 'p': 4, 'q': 10, 'r': 1,
         's': 1, 't': 1, 'u': 1, 'v': 6, 'w': 3, 'x': 8,
         'y': 10, 'z': 3}
    
    if len(word) > 15:
        return 0
    total = []
    for letter in word:
        if letter not in score.keys():
            continue
        total.append(score[letter.lower()])
    return sum(total)