#include <iostream>
int main() {
std::cout << "How many type A tickets sold?" << std::endl;
int numberofA_Seats;
std::cin >> numberofA_Seats;
std::cout << "How much does one such ticket cost?" << std::endl;
int priceperA_Seat;
std::cin >> priceperA_Seat;
std::cout << "How many type B tickets sold?" << std::endl;
int numberofB_Seats;
std::cin >> numberofB_Seats;
std::cout << "How much does one such ticket cost?" << std::endl;
int priceperB_Seat;
std::cin >> priceperB_Seat;
std::cout << "How many type C tickets sold?" << std::endl;
int numberofC_Seats;
std::cin >> numberofC_Seats;
std::cout << "How much does one such ticket cost?" << std::endl;
int priceperC_Seat;
std::cin >> priceperC_Seat;
int totalCost = numberofA_Seats * priceperA_Seat +
numberofB_Seats * priceperB_Seat +
numberofC_Seats * priceperC_Seat;
std::cout << "Total cost: " << totalCost << std::endl;
system("pause");
return 0;
}