'''
@Author: AnakinJiang
@Email: <EMAIL>eng<EMAIL> AT gmail.com
@Descripttion: 
@Date: 2019-09-08 15:17:32
@LastEditors: AnakinJiang
@LastEditTime: 2019-09-08 15:21:52
'''
import math
a = -3*math.log2(0.25)*0.25
b= - 2*math.log2(0.125)*0.125
print(a+b)