#include #define ll long long #define db double #define taskname "" #define pb push_back #define fi first #define mll map #define se second #define in insert using namespace std; const int N=1e6+1; const int M=1e3+1; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); if(fopen(taskname".inp","r")) { freopen(taskname".inp","r",stdin); freopen(taskname".out","w",stdout); } ll a,b,x; cin>>a>>b>>x; if(x