fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. int n;
  8. cin >> n;
  9. if (n%2 == 0 ) cout << "Par";
  10. else cout << "Impar";
  11. cout << endl;
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0.01s 5284KB
stdin
2
stdout
Par