#include using namespace std; int main() { long a,b,c; cin >> a >> b >> b >> c >> c; if((a+b+c)%2==0){ cout << ":-)" << endl; }else{ cout << ":-(" << endl; } cin >> c; return 0; }