#include #define all(v) v.begin(), v.end() #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define vec_input(v) for(auto it=v.begin();it!=v.end();it++){cin>>*it;} #define vec_debug(v) for(auto it=v.begin();it!=v.end();it++){cerr<<*it<<" ";}cerr<T digitsum(T n); template bool isPrime(T n); template vector> prime_factor(T n); long long int intpow(long long int,long long int); template T intlog(T); long long int combination(long long int,long long int); long long int series_sum(long long int); int main(){ int a,b,odd=0,even=0,ans=0; rep(i,3){ cin>>a>>b; if(a%2==1)odd++; } if(odd%2==0)ans=1; cout<<(ans?":-)":":-(")<