#include <iostream>
using namespace std;
int main() {
   int a,b,c;
   cin>>a>>b>>c;
   if(a>b) {
       if(a>c){
           cout<<("%d\n", a);
       }
       else {
           cout<<("%d\n",c);
       }
   }
   else if(b>c){
       cout<<("%d\n",b);
   }
   else {
       cout<<("%d\n",c);
       
   }
   return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: