#include using namespace std; #define rep(i, n) for(int i=0; i P; #define INF 1e9 + 7 #define MOD 998244353 #define ALL(v) v.begin(), v.end() int main(void){ cin.tie(0); ios::sync_with_stdio(false); ll a,b; ll c=0; int flag=0; for(int i=0;i<3;i++){ cin >> a >> b; c += a; } if((c%2)==0) cout << ":-)"; else cout << ":-("; return 0; }