exit status 1
main.cpp: In function 'int main()':
main.cpp:6:5: error: 'cin' was not declared in this scope
6 | cin>>n;
| ^~~
main.cpp:1:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
+++ |+#include <iostream>
1 | using namespace std;
main.cpp:8:9: error: 'cout' was not declared in this scope
8 | cout<<"IGEN"<<endl;
| ^~~~
main.cpp:8:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:8:23: error: 'endl' was not declared in this scope
8 | cout<<"IGEN"<<endl;
| ^~~~
main.cpp:1:1: note: 'std::endl' is defined in header '<ostream>'; did you forget to '#include <ostream>'?
+++ |+#include <ostream>
1 | using namespace std;
main.cpp:9:10: error: 'cout' was not declared in this scope
9 | else cout<<"NEM"<<endl;
| ^~~~
main.cpp:9:10: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#includ...