#include using namespace std; using namespace chrono; #if __has_include() #include using namespace atcoder; #endif int main() { int64_t a, b, c, d, e, f; cin >> a >> b >> c >> d >> e >> f; if ((a + c + e) % 2 == 0) { cout << ":-)" << endl; } else { cout << ":-(" << endl; } return 0; }