#include<bits/stdc++.h> using namespace std; int main(){ double a[6]={3,2.5,7,4,5.5}; int n; double m; cin>>n>>m; printf("Total: %.2lf g",a[n-1]*m); }