#include #include #include #include #include #include using namespace std; typedef long long ll; int main() { int a,b,c,d,e,f; cin >> a >> b >> c >> d >> e >> f; if((a%2==0&&c%2==0&&e%2==0)||(a%2!=0&&c%2==0&&e%2==0)||(a%2==0&&c%2!=0&&e%2==0)||(a%2==0&&c%2==0&&e%2!=0)) { cout << ":-)" << endl; } else { cout << ":-(" << endl; } }