# Practice on Toph

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

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

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 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).

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!
```

Input | Output |
---|---|

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

94% Solution Ratio

sarwarITEarliest,

Nasif_44thFastest, 0.0s

t5577.Lightest, 0 B

Anin200921Shortest, 99B

Login to submit

Math