Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

Thought Game

By emoncse · Limits 1s, 512 MB

Sadia is one of the nicest persons you will ever meet. In fact, she is one of those persons who like even numbers only.

Today, Sadia wants to play a game with you. She will give you two integers and you will have to determine the average of it.

But, there is one problem. Since Sadia doesn’t like odd numbers, you need to figure out if the result will make Sadia happy.

Input

Input starts with an integer T (1 ≤ T ≤ 10) donates test case.

Each of the next T lines will contain two integers Xi and Yi (1 ≤ Xi ≤ 100, 1 ≤ Yi ≤ 100).

Output

For each of the T lines, print whether Sadia will be happy with the result or not as either:

Sadia will be happy.

Or,

Oops!

Sample

InputOutput
3
4 5
4 4
5 2
Sadia will be happy.
Sadia will be happy.
Oops!


    Discussion
    Statistics

    93% Solution Ratio

    sarwarITEarliest, Dec '17

    Nasif_44thFastest, 0.0s

    t5577.Lightest, 0 B

    touhidurShortest, 101B

    Submit

    Login to submit