Problem1703--计算商品总价

1703: 计算商品总价

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

某商城优惠活动规定,某商品一次购买5件以上(包含5件)10件以下(不包含10件)打9折;一次购买10件以上(包含10件)打8折。设计程序根据单价和客户的购买量计算总价。

Input

一行,两个数,分别表示商品的单价和数量

Output

一个数,即商品总价

Sample Input Copy

8 12

Sample Output Copy

76.8

Source/Category