Language: C++

#include <iostream>

int main(){
	int a, b, c;
    cin >> a >> b >> c;
	if(a == 5){
    	if(b == 7){
        	if(c == 5){
            	cout << "Yes" << endl;
            }else cout << "No" << endl;
        }else if (b == 5){
        	if(c == 7){
              cout << "Yes"<<endl;              
        }else cout <<"No"<<endl;    
    }else if (a == 7){
        if(b == 5&& c == 5){
        	cout << "No" <<endl;
        }
        }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |     cin >> a >> b >> c;
      |     ^~~
      |     std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:9:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |                 cout << "Yes" << endl;
      |                 ^~~~
      |                 std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:34: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |                 cout << "Yes" << endl;
      |                                  ^~~~
      |                                  std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:10:19: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |             }else cout << "No" << endl;
      |                   ^~~~
      |                   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:10:35: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |             }else cout << "No" << endl;
      |                                   ^~~~
      |                                   std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:13:15: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |               cout << "Yes"<<endl;
      |               ^~~~
      |               std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:30: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 |               cout << "Yes"<<endl;
      |                              ^~~~
      |                              std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:14:15: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |         }else cout <<"No"<<endl;
      |               ^~~~
      |               std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:14:28: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   14 |         }else cout <<"No"<<endl;
      |                            ^~~~
      |                            std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:17:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   17 |                 cout << "No" <<endl;
      |                 ^~~~
      |                 std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:17:32: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   17 |                 cout << "No" <<endl;
      |                                ^~~~
      |                                std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:20:2: error: expected '}' at end of input
   20 | }
      |  ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^