Note: Goldbach's conjecture is states that every even number is a sum of two odd prime number no need to check its proof just use the method.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<math.h> | |
int main() | |
{ | |
int tc,n,i,a; | |
while(scanf("%d",&tc)==1){ | |
for(i=1;i<=tc;i++){ | |
scanf("%d",&n); | |
if(n%2==0 && n>=4){ | |
printf("Deepa\n"); | |
} | |
else | |
printf("Arjit\n"); | |
} | |
} | |
return 0; | |
} | |