#Python
a = int(input(""))
b = int(input(""))
print(2*2+3*b)
//PaskalABC.Net
var a, b:integer;
begin
read(a);
read(b);
writeln(2*2+3*b);
end.
//C++
#include "stdio.h"
#include <iostream>
using namespace std;
int main(void)
{
int a, b;
cin >> a;
cin >> b;
cout << 2*a+3*b;
return 0;
};
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
#Python
a = int(input(""))
b = int(input(""))
print(2*2+3*b)
//PaskalABC.Net
var a, b:integer;
begin
read(a);
read(b);
writeln(2*2+3*b);
end.
//C++
#include "stdio.h"
#include <iostream>
using namespace std;
int main(void)
{
int a, b;
cin >> a;
cin >> b;
cout << 2*a+3*b;
return 0;
};