#include using namespace std; int main() { int A1, B1, A2, B2, A3, B3; cin >> A1 >> B1 >> A2 >> B2 >> A3 >> B3; if ((A1 % 2 + A2 % 2 + A3 % 2) % 2 == 0) cout << ":-)" << endl; else cout << ":-(" << endl; }