10 lines
111 B
C++
10 lines
111 B
C++
#include<iostream>
|
|
using namespace std;
|
|
int main()
|
|
{
|
|
int R1,S;
|
|
cin>>R1>>S;
|
|
cout<<2*S-R1<<endl;
|
|
return 0;
|
|
}
|