문제링크
#include<iostream> using namespace std; int main(){ int r, s; cin >> r >> s; cout << s * 2 - r; }