#include #include #include using namespace std; int main(){ int am = 0; for(int i = 0; 3 > i; i++){ int a,b;cin>>a>>b; if(a%2&&b%2)am++; } if(am%2==0)cout << ":-)" << endl; else cout << ":-(" << endl; }