Problem:
Score: 100 points

Problem Statement

E869120's and square1001's 16-th birthday is coming soon.

Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan-shaped pieces.

E869120 and square1001 were just about to eat A and B of those pieces, respectively,

when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake".

Can both of them obey the instruction in the note and take desired numbers of pieces of cake?

Constraints

A and B are integers between 1 and 16 (inclusive).

A+B is at most 16.

Input

Input is given from Standard Input in the following format:

A B

Output

If both E869120 and square1001 can obey the instruction in the note and take desired numbers of pieces of cake, print Yay!; otherwise, print :(.

Sample Input 1

5 4

Sample Output 1

Yay!

Both of them can take desired number of pieces as follows:

Sample Input 2

8 8

Sample Output 2

Yay!

Both of them can take desired number of pieces as follows:

Sample Input 3

11 4

Sample Output 3

:(

In this case, there is no way for them to take desired number of pieces, unfortunately.

Solution in C# (.NET Core 3.1.201) (judge verdict: Wrong Answer)

using System;
using System.Globalization;
using System.IO;
using System.Text;
using static Scanner;

class Program
{
    static void Main(string[] args) {
        var writer = new StreamWriter(Console.OpenStandardOutput()) {AutoFlush = false};
        Console.SetOut(writer);
        Solve();
        Console.Out.Flush();
    }
    static void Solve() {
        var N = ScanInt();
        long count = 0;
        for (int i = 0; i < N; i++) {
            var a = ScanInt();
            while (a % 2 == 0) {
                a /= 2;
                count++;
            }
        }
        Console.WriteLine(count);
    }
}

public static class Scanner
{
    static readonly byte[] buffer = new byte[1024];
    static int length, p;
    static bool isEof;
    private static byte ConsoleIn() {
        var stream = Console.OpenStandardInput();
        if (isEof) return 0;
        if (p < length) return buffer[p++];
        p = 0;
        if ((length = stream.Read(buffer, 0, 1024)) > 0) return buffer[p++];
        isEof = true;
        return 0;
    }
    private static char Char() {
        var let = ConsoleIn();
        while ((let < '!' || '~' < let) && !isEof) let = ConsoleIn();
        return (char) let;
    }
    public static string Scan() {
        var sb = new StringBuilder();
        for (var let = Char(); '!' <= let && let <= '~'; let = (char) ConsoleIn()) {
            sb.Append(let);
        }
        return sb.ToString();
    }
    public static int ScanInt() {
        var temp = 0;
        for (var let = Char(); '0' <= let && let <= '9'; let = (char) ConsoleIn()) {
            temp = temp * 10 + let - '0';
        }
        return temp;
    }
}