#include using namespace std; using lint = long long; template using V = vector; template using VV = V< V >; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); V<> a(3), b(3); for (int i = 0; i < 3; ++i) cin >> a[i] >> b[i]; if (a[0] + a[1] + a[2] & 1) { cout << ":-(" << '\n'; } else { cout << ":-)" << '\n'; } }