Rainy day?

4.3

7 votes
Very-Easy
Problem

A famous detective ' L ' doesn't really like rainy days. He considers a day to be rainy if the sum of all previous dates he has been out is even.

Help L to figure out if its a rainy day or not ?

INPUT

first line of input consists of t test cases ( 1 <= t <= 10). the second line of input consists n , the number of dates before the current date. following line consists of n space separated integers .

OUTPUT

print "Rainy day" or "Not rainy day" for each test case.(Quotes only for clarity)

CONSTRAINTS

1<=n<=30

Time Limit: 1
Memory Limit: 256
Source Limit:
Explanation

since sum is even output is Rainy day.

Editor Image

?