program s read*,i,j,ii,jj,iii,jjj print"(A)",merge(":-)",":-(",mod(i+ii+iii,2)==0) end program s