#include #define rep(i,n) for(int i = 0; i < (n); i++) using namespace std; typedef long long ll; int main(){ cin.tie(0); ios::sync_with_stdio(0); int N; cin >> N; cin.ignore(); string s; getline(cin, s); int ok = 1; for(char c : s) ok &= c != ' '; if(!ok) { cout << "\"assert\"" << endl; } else { int a = stoi(s); int b,c; cin >> b >> c; set v = {a+b, b+c, c+a}; auto it = v.end(); it--; it--; cout << *it << endl; } }