Untitled

yrtyry
mail@pastecode.io avatar
unknown
c_cpp
8 months ago
179 B
0
Indexable
Never
#include <iostream>
using namespace std;

int main()
{
	
	long long X, Y, Z;
	cin >> X >> Y >> Z;

	long long sum = 0;
	sum = 3 * X + 5 * Y + 12 * Z;

	cout << sum;
}