#include using namespace std; int gcd(int a, int b) { return b != 0 ? gcd(b, a % b) : a; } int lcm(int a, int b) { return a * b / gcd(a, b); } main() { vector a(6); int che =0; for(int i=0;i<6;i++){ cin >> a.at(i); if(i==0||i==2||i==4){ if(a.at(i)%2==0)che++; } } if(che==1||che==3){ cout <<":-)"<