fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int a,c;
  5. scanf("%d",&a);
  6. for(int i=2;i<a;i++){
  7. if(a%i==0){
  8. c++;
  9. }
  10. }
  11. if(c==0){
  12. printf("ki");
  13. }
  14. else{
  15. printf("bakibaki");
  16. }
  17. return 0;
  18. }
Success #stdin #stdout 0.01s 5284KB
stdin
7
stdout
ki