#include <bits/stdc++.h>
using namespace std;

int main(){
	int A,B;
	cin >> A >> B;

	if( abs(A-B) < 2 ){
		cout << "Yay!" << endl;
	}
	else{
		cout << ":(" << endl;
	}

}

#include <stdio.h>

int main () {
    int N, K, A = 1;
    scanf("%d %d", &N, &K);
    
    for (int i = 1; i <= N; i++) {
        if (A * 2 < A + K) {
            A *= 2;
        }
        else {
            A += K;
        }
    }
    printf("%d", A);
}