#include <iostream>
using namespace std;

int main() {
	int purchase = 52; // Price in Dollars before tax
	float sales_tax = 0.04;
	float csales_tax = 0.02; // County sales tax
	float total_tax = (purchase * sales_tax) + (purchase * csales_tax);
	float net_cost = purchase + total_tax; // Net price of purchase after taxes is included
	cout << net_cost;
	return 0;
}