def letter_count():
    
    hundred = 7
    hundredand = 10
    onethousand = 11

    ones = 36
    teens = 67
    tens = 50

    lSum = ones * 90 + teens * 10 + tens * 90 + hundred * 9 + hundredand * 99 * 9 * ones + 11

    print(lSum)
