#include using namespace std; #ifdef LOCAL #include "settings/debug.cpp" #define _GLIBCXX_DEBUG #else #define Debug(...) void(0) #endif #define rep(i, n) for (int i = 0; i < (n); ++i) using ll = long long; using ull = unsigned long long; int main() { int n; cin >> n; cin.ignore(); string s; getline(cin, s); if (s.find(' ') != string::npos) { cout << "\"assert\"" << endl; return 0; } ll a = stoll(s); ll b, c; cin >> b >> c; vector v = { a + b, b + c, c + a }; sort(v.rbegin(), v.rend()); v.erase(unique(v.begin(), v.end()), v.end()); cout << v[1] << endl; return 0; }