#include #include #include int cmp(const void *a,const void *b){ if(*(int*)a>*(int*)b){return 1;} else if(*(int*)a<*(int*)b){return -1;} else {return 0;} } int main(void){ int a,b,aa,bb,aaa,bbb; int odd=0; scanf("%d %d %d %d %d %d",&a,&b,&aa,&bb,&aaa,&bbb); if(a%2==1){odd++;} if(aaa%2==1){odd++;} if(aa%2==1){odd++;} if(odd==1||odd==3){printf(":-(\n");} else{printf(":-)\n");} }