#include #include #include using namespace std; int main(void) { string n; getline(cin, n); string s, t, u; getline(cin, s); if (s.find(' ') != string::npos) { cout << "\"assert\"" << endl; exit(0); } getline(cin, t); getline(cin, u); long long a = stoll(s), b = stoll(t), c = stoll(u); set st; st.insert(a + b), st.insert(b + c), st.insert(c + a); auto itr = st.end(); --itr, --itr; cout << *itr << endl; return 0; }