#include #include using namespace std; using LL = long long; const int MOD = 998244353; class Edge{ public: LL from,to, value; Edge(int f,int t, int c){ from = f; to = t; value = c; } }; int main(){ int X,Y,Z;cin >> X >> Y >> Z; for(int i = 0;i < Z;i++){ if(X < Y){ X++; }else{ Y++; } } cout<