Advertisement
Josif_tepe

Untitled

Oct 27th, 2023
567
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6.    
  7.     int n;
  8.     cin >> n;
  9.    
  10.     if(n % 2 == 1) {
  11.         cout << "NEPAREN" << endl;
  12.     }
  13.     if(n % 2 == 0) {
  14.         cout << "PAREN" << endl;
  15.     }
  16.     return 0;
  17. }
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement