#include<bits/stdc++.h> using namespace std; int main(){ int x,y; cin>>x>>y; cout<<x*1 + y*2; return 0; }
(●ˇ∀ˇ●)