fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {int a,b,c;
  6. cin>>a>>b>>c;
  7. if (a>b)
  8. if (a>c) cout<<"First";
  9. else cout<<"Third";
  10. else
  11. if (b>c) cout<<"Second";
  12. else cout<<"Third";
  13. return 0;}
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
Second