N = int(input())
for i in range(N):
    num1, num2 = map(int, input().split())
    avg = (num1 + num2) // 2
    if avg % 2 == 0:
        print('Sadia will be happy.')
    else:
        print('Oops!')

3a8cbf4eee6165978293343782a5065ca3081164
<mask token>

<mask token>
for i in range(N):
    num1, num2 = map(int, input().split())
    avg = (num1 + num2) // 2
    if avg % 2 == 0:
        print('Sadia will be happy.')
    else:
        print('Oops!')

N = int(input())
for i in range(N):
    num1, num2 = map(int, input().split())
    avg = (num1 + num2) // 2
    if avg % 2 == 0:
        print('Sadia will be happy.')
    else:
        print('Oops!')
