#include using namespace std; typedef long long ll; int main() { int N; cin >> N; vector A(3); string s; for (int i = 0; i < N; i++) { cin >> s; if (s.find(" ")) { cout << "assert\n"; return 0; } A[i] = atoll(s.c_str()); } sort(A.begin(), A.end()); cout << A[0] + A[1] << "\n"; return 0; }