Meniu

#814 triplul

#include <iostream>

using namespace std;

int main()
{
    int x,y;
    cin >>x>>y;
    cout <<3*y-x;
    return 0;
}