#include <bits/stdc++.h>   using namespace std;   int main() {     int a, b, c, s1, s2, s3, s4;     cin >> a >> b >> c;     s1 = a + c + b;     s2 = a + a + b + b;     s3 = a + c + c + a;     s4 = b + c + c + b;     cout << min(s1, (min(s2, min(s3, s4))));   }   