func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     long long int i, j, k, n, m, ans = 0;     cin >> n >> m >> k;     ans = n + m + k;     cout << min(ans / 3, ans - max(n, max(m, k)));   }   