#include int main(void){ int A[3],B[3]; scanf("%d%d%d%d%d%d",&A[0],&B[0],&A[1],&B[1],&A[2],&B[2]); int Y[3]; Y[0] = A[0]%2; Y[1] = A[1]%2; Y[2] = A[2]%2; int sum =Y[0]+Y[1]+Y[2]; if(sum%2==0){ printf(":-)\n");} else { printf(":-(\n");} return 0; }