#include using namespace std; #define int long long signed main(){ int A,B,C,D,E,F; cin>>A>>B>>C>>D>>E>>F; if((A+C+E)%2 == 0) cout<<":-)"<