// yukicoder No.892 #include using namespace std; int main() { int a, b, m, n, x, y; cin >> a >> b >> m >> n >> x >> y; int tmp = a + m + x; if(tmp % 2 == 0) cout << ":-)" << "\n"; else cout << ":-(" << "\n"; return 0; }