#include <bits/stdc++.h>using namespace std;int main(){ int s, x; cin >> x >> s; cout << 2*s-x;}
Standard input is empty
340841603
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!