jakaria_hossain

Codeforce- Rocking piles

Sep 27th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. int main()
  4. {
  5. int t;
  6. scanf("%d",&t);
  7. while(t--)
  8. {
  9. int a,b;
  10. scanf("%d %d",&a,&b);
  11. if(a%2==0 && b%2==0)printf("abdullah\n");
  12. else printf("hasan\n");
  13. }
  14. return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment