// Marvyn De La Torre    CS1A    Chapter 3, P.143, #2

/*************************************************************
// Calculate Stadium Ticket Income
//
// This program displays the total income generated from ticket
// sales for the three seating classes at a stadium.
//
// Input:
// Number of Class A tickets sold
// Number of Class B tickets sold
// Number of Class C tickets sold
//
// Output:
// Total income from ticket sales
*************************************************************/

#include <iostream>
#include <iomanip>
using namespace std;

int main()
{
    double classA;
    double classB;
    double classC;
    double total;

    cin >> classA;
    cin >> classB;
    cin >> classC;

    total = (classA * 15) + (classB * 12) + (classC * 9);

    cout << fixed << showpoint << setprecision(2);
    cout << "The total income is $" << total;

    return 0;
}