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