#include #include #include #include using namespace std; int main(){ int N; cin >> N; string S; getline(cin, S); int M = S.size(); bool ok = true; for (int i = 0; i < M; i++){ if (S[i] == ' '){ ok = false; } } if (!ok){ cout << "assert" << endl; } else { long long A1 = stoll(S); long long A2; cin >> A2; long long A3; cin >> A3; vector A = {A1, A2, A3}; sort(A.begin(), A.end()); cout << A.back() + A.front() << endl; } }