/in/foo.cc: In function 'int main()':
/in/foo.cc:3:8: error: 'cin' was not declared in this scope
    3 |  while(cin>>a){
      |        ^~~
/in/foo.cc:4:10: error: 'strlen' was not declared in this scope
    4 |  int len=strlen(a);
      |          ^~~~~~
/in/foo.cc:1:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
  +++ |+#include <cstring>
    1 | int main(){
/in/foo.cc:14:3: error: 'cout' was not declared in this scope
   14 |   cout<<"Yes"<<endl;
      |   ^~~~
/in/foo.cc:14:16: error: 'endl' was not declared in this scope
   14 |   cout<<"Yes"<<endl;
      |                ^~~~
/in/foo.cc:16:3: error: 'cout' was not declared in this scope
   16 |   cout<<"No"<<endl;
      |   ^~~~
/in/foo.cc:16:15: error: 'endl' was not declared in this scope
   16 |   cout<<"No"<<endl;
      |               ^~~~