import std.stdio, std.string, std.range, std.conv, std.array, std.algorithm, std.math, std.typecons;

void main() {
    const tmp = readln.split.to!(long[]);
    writeln(tmp[0] <= 8 && tmp[1] <= 8 ? "Yay!" : ":(");
}

