n = input().split() p = [4.00, 4.50, 5.00, 2.00, 1.50] print ("Total: R$", f'{p[int(n[0])-1]*int(n[1]):.2f}')