#include<bits/stdc++.h>
using namespace std;
double bianhao,shuliang;
int main(){
scanf("%lf%lf",&bianhao,&shuliang);
if(bianhao==1)printf("%s %.2lf %s","Total:",3.00*shuliang,"g");
if(bianhao==2)printf("%s %.2lf %s","Total:",2.50*shuliang,"g");
if(bianhao==3)printf("%s %.2lf %s","Total:",7.00*shuliang,"g");
if(bianhao==4)printf("%s %.2lf %s","Total:",4.00*shuliang,"g");
if(bianhao==5)printf("%s %.2lf %s","Total:",5.50*shuliang,"g");
return 0;
}
有疑问欢迎提出