#include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; #define INF 10e17 #define rep(i,n) for(long long i=0; i()) #define debug(x) std::cerr << (x) << std::endl; #define roll(x) for (auto&& itr : x) { debug(itr); } template inline void chmax(T &ans, T t) { if (t > ans) ans = t;} template inline void chmin(T &ans, T t) { if (t < ans) ans = t;} int main() { string s1, s2, s3, s4; getline(cin, s1); getline(cin, s2); if (s2.size() > 1) { cout << "assert" << endl; } else { getline(cin, s3); getline(cin, s4); ll t1 = stol(s2), t2 = stol(s3), t3 = stol(s4); // cout << t1 << " " << t2 << " " << t3 << endl; ll p1 = t1 + t2, p2 = t2 + t3, p3 = t1 + t3; map mp; mp[p1] = true; mp[p2] = true; mp[p3] = true; int cnt = 0; for (auto itr : mp) { cnt += 1; if (mp.size() == 2 and cnt == 1) { cout << itr.first << endl; return 0; } else if (mp.size() == 3 and cnt == 2) { cout << itr.first << endl; return 0; } } } }