#include <iostream>
using namespace std;
int main() {
int X1 = 11; // กำหนดค่า X1
int S = 15; // กำหนดค่า S
int X2;
// คำนวณหาค่า X2
X2 = 2 * S - X1;
// แสดงผลลัพธ์
cout << "ค่าของ X2 คือ: " << X2 << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkgewogICAgaW50IFgxID0gMTE7IC8vIOC4geC4s+C4q+C4meC4lOC4hOC5iOC4siBYMQogICAgaW50IFMgPSAxNTsgLy8g4LiB4Liz4Lir4LiZ4LiU4LiE4LmI4LiyIFMKICAgIGludCBYMjsKCiAgICAvLyDguITguLPguJnguKfguJPguKvguLLguITguYjguLIgWDIKICAgIFgyID0gMiAqIFMgLSBYMTsKCiAgICAvLyDguYHguKrguJTguIfguJzguKXguKXguLHguJ7guJjguYwKICAgIGNvdXQgPDwgIuC4hOC5iOC4suC4guC4reC4hyBYMiDguITguLfguK06ICIgPDwgWDIgPDwgZW5kbDsKCiAgICByZXR1cm4gMDsKfQo=