Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.04 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. #include<string>
  3. #include<vector>
  4. #include <cstdlib>
  5. using namespace std;
  6.  
  7. typedef long long int ll;
  8. typedef long double ld;
  9. typedef unsigned long long int ull;
  10. typedef long long li;
  11.  
  12. #define ms(x,a) memset(x,a,sizeof(x))
  13. #define forn(i, n) for (int i = 0; i < int(n); i++)
  14. #define pi      acos(0.0)*2 // 3.1415926535897932
  15. #define mx      100007
  16. #define mod     1000000007
  17. #define base    10000007
  18. #define pb      push_back
  19.  
  20. ll arr[35];
  21. void inOut();
  22.  
  23. int main()
  24. {
  25.     //inOut();
  26.     ll i,j,l,q,n,x;
  27.     string s;
  28.     cin>>n;
  29.     ll sum = 0;
  30.     for(i=0; i<n; i++)
  31.     {
  32.         cin>>x;
  33.         sum += x;
  34.     }
  35.  
  36.     if(sum%2!=0)
  37.         cout<<"lowie"<<endl;
  38.     else if(n%2==0 && sum%2==0)
  39.         cout<<"lowie"<<endl;
  40.     else
  41.         cout<<"imitater"<<endl;
  42.  
  43.  
  44.     return 0;
  45. }
  46.  
  47.  
  48. void inOut()
  49. {
  50.     ios_base::sync_with_stdio(false);
  51.     cin.tie(NULL);
  52.  
  53.     #ifndef ONLINE_JUDGE
  54.         freopen("input.txt", "r", stdin);
  55.         //freopen("output.txt", "w", stdout);
  56.     #endif
  57. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement