func_code_string: #include <bits/stdc++.h>   using namespace std;   int solve(int i, int a, int b, int c) {     if (i == 0) return a + b + c;     if (i == 1) return max((a + b) * c, a + b * c);     if (i == 2) return max(a * (b + c), a * b + c);     return a * b * c;   }   int main() {     ios::sync_with_stdio(0);     cin.tie(0);     int a, b, c;     cin >> a >> b >> c;     int ans = 0;     for (int i = 0; i < 4; ++i) {       ans = max(ans, solve(i, a, b, c));       ans = max(ans, solve(i, c, b, a));     }     cout << ans << endl;     return 0;   }   