import std.stdio, std.string, std.algorithm, std.range, std.conv;
void main()
{
    auto ip = readln.split.to!(int[]), A = ip[0], B = ip[1];
    if(A > 8 || B > 8) {
        writeln(":(");
    } else {
        writeln("Yay!");
    }
}