/* https://yukicoder.me/problems/no/892 */ #include using namespace std; int main() { ios::sync_with_stdio(0); cin.tie(0); int even = 0; int a, b; for (int i = 0; i < 3; i++) { cin >> a >> b; if (a % 2 == 0) even += 1; } // cerr << even << endl; if (even % 2 != 0) cout << ":-)" << endl; else cout << ":-(" << endl; }