function Main(input) {
  input = input.split("\n");
  var a = parseInt(input[0].split(" ")[0]);
  var b = parseInt(input[0].split(" ")[1]);
  var c = parseInt(input[0].split(" ")[2]);
  var ans =0;
  x = new Array(a,b,c);
  x.sort(function(a,b){
    if( a > b ) return -1;
    if( a < b ) return 1;
    return 0;
  });
  var n =parseInt(x[0]+"" +x[1]+" ");
  ans = n+x[2];

  console.log('%s', ans);
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));