/in/foo.cc:1:1: error: 'include' does not name a type
include<iostream>
^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:6:1: error: 'cin' was not declared in this scope
cin>>n;
^~~
/in/foo.cc:8:1: error: 'cout' was not declared in this scope
cout<<"YES"<<endl;
^~~~
/in/foo.cc:8:14: error: 'endl' was not declared in this scope
cout<<"YES"<<endl;
^~~~
/in/foo.cc:10:1: error: 'cout' was not declared in this scope
cout<<"NO"<<endl;
^~~~
/in/foo.cc:10:13: error: 'endl' was not declared in this scope
cout<<"NO"<<endl;
^~~~