#include using namespace std; #define ll long long #define rep(i, n) for (int i = 0; i < (n); i++) #define P pair #define LP pair int main() { ll a1,b1,a2,b2,a3,b3; cin >> a1 >> b1 >> a2 >> b2 >> a3 >> b3; if ((a1+a2+a3)%2) cout << ":-(" << endl; else cout << ":-)" << endl; return 0; }