fork download
  1. #include<bits/stdc++.h>
  2. #define ll long long
  3. #define ld long double
  4. #define pb push_back
  5. #define ff first
  6. #define ss second
  7. #define sp fixed<<setprecision
  8. #define pll pair<ll,ll>
  9. using namespace std;
  10. ll MOD = (1e9)+7;
  11. int main()
  12. {
  13. ios_base::sync_with_stdio(false);
  14. cin.tie(NULL);
  15. cout.tie(NULL);
  16. int tc=1;
  17. cin>>tc;
  18. for(int tt=1;tt<=tc;tt++)
  19. {
  20. ll n,k;
  21. cin>>n>>k;
  22. if(n==1){cout<<"Kilani"<<endl;continue;}
  23. if(n==2){cout<<"Ayoub"<<endl;continue;}
  24. if(k%2)k++;
  25. if(n>k)cout<<"Kilani"<<endl;
  26. else
  27. {
  28. if(n%2==0)cout<<"Ayoub"<<endl;
  29. else cout<<"Kilani"<<endl;
  30. }
  31. }
  32. return 0;
  33. }
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
Kilani