#include <bits/stdc++.h>
using namespace std;
long long a,b,c;
bool kt;
int main()
{
cin>>a>>b>>c;
kt=true;
if ((a+b>c) and (a+c>b) and (b+c>a)) kt=true;
else kt=false;
if (kt==true) then
{
cout<<"Day la ba canh cua mot tam giac"<<endl;
cout<<"Chu vi la:"<<a+b+c;
}
if (kt==false) cout<<"Day khong la ba canh trong mot tam giac";
return 0;
}