#include using namespace std; #define rep(i, n) for (int i = (int)(0); i < (int)(n); ++i) #define reps(i, n) for (int i = (int)(1); i <= (int)(n); ++i) #define rrep(i, n) for (int i = ((int)(n)-1); i >= 0; i--) #define rreps(i, n) for (int i = ((int)(n)); i > 0; i--) #define irep(i, m, n) for (int i = (int)(m); i < (int)(n); ++i) #define ireps(i, m, n) for (int i = (int)(m); i <= (int)(n); ++i) #define FOR(e, c) for (auto &e : c) #define SORT(v, n) sort(v, v + n); #define vsort(v) sort(v.begin(), v.end()); #define rvisort(v) sort(v.begin(), v.end(), greater()); #define all(v) v.begin(), v.end() #define mp(n, m) make_pair(n, m); #define coutd(d) cout<; using vvi = vector; using vll = vector; using vvll = vector; using pii = pair; using ul = unsigned long; const int INF = 1e9; const int MOD = 1e9+7; const ll LINF = 1e18; template inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; } template inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; } int GCD(int a, int b) { return b ? GCD(b, a%b) : a; } int main(){ ll a1,b1,a2,b2,a3,b3; cin>>a1>>b1>>a2>>b2>>a3>>b3; string ans=":-("; if((a1%2+a2%2+a3%2)%2==0) ans=":-)"; cout<