dict_check = {'A':4.0,'B':3.0, 'C':2.0,'D':1.0,'F':0} res = 0.0 all_values = 0.0 while True: x = input() if x == 'False': break y = int(input()) res +=dict_check[x]*y all_valu...