P22277 [HackerEarth] Rani and Nandu decide to play a number game. Both play alternately, Rani playing the first move.
普及
题目描述

Rani and Nandu decide to play a number game. Both play alternately, Rani playing the first move.

In each of their moves, they can subtract a maximum of k and a minimum of 1 from n i.e. each of them must subtract from n, any natural number less than or equal to k , and the new value of n will be the result of this subtraction.

They continue playing this game until the value of n becomes zero or negative. The person to play the last move loses the game.

Both are super-intelligent and hence both play optimally. Given the values of n and k, find out the winner of the game.

Input:

First line consists of t, the number of test case. The next t lines are such that each line consists of two space separated integers n and k.

Output:

Print the answer to each test case on a new line, 'Rani' if the winner of the game is Rani and 'Nandu' if the winner of the game is Nandu.

Constraints:

1 ≤ t ≤ 1000000

1 ≤ n ≤ 1000000.

SAMPLE INPUT
2
1 2
4 1

SAMPLE OUTPUT
Nandu
Rani

Explanation

For n=1 and k=2 1st move Rani : n = 1 - 1 = 0. Since, no more turn is possible and Rani palyed the last move, she loses the game. So,the winner of the game is Nandu.

For n=4 and k=1 1st move Rani : n = 4 - 1 = 3, 2nd move Nandu : n = 3 - 1 = 2, third move Rani n = 2 - 1 = 1 and last move Nandu n=1-1=0 Now, n has become zero/negative. So, the game is over. Since Nandu palyed the last move, he loses the game. So, the winner of the game is Rani.

输入格式

见题面

输出格式

见题面

样例输入
151 329 257 705 487 768 697 217 104 969 371 430 316 588 276 609 496 9 5 290 222 333 100 741 626 817 489 235 7 623 179 490 253 623 456 841 344 861 786 984 656 441 46 734 237 501 249 609 19 745 41 905 459 542 66 689 39 830 758 781 521 468 283 197 26 828 14 714 621 81 81 899 243 27 18 305 233 702 685 801 261 1 1 704 93 661 93 81 65 97 58 249 87 188 175 775 631 41 17 800 611 339 12 941 779 126 57 745 1 313 33 358 356 133 97 59 41 820 367 80 77 889 471 379 209 549 177 380 73 705 655 756 427 289 41 733 401 17 17 841 411 519 507 46 1 977 526 705 297 889 838 501 321 45 41 315 205 881 15 912 793 683 538 247 43 217 101 359 301 99 81 201 1 659 633 626 301 81 44 765 31 178 121 513 277 616 221 467 321 935 569 583 401 1 1 80 67 619 188 799 753 235 191 426 235 761 155 57 1 381 33 524 421 811 451 989 621 651 469 322 24 480 449 65 21 918 401 619 491 322 67 369 246 801 453 113 89 240 29 173 1 993 293 869 796 696 621 652 633 467 127 462 103 497 247 956 207 401 317 469 77 951 642 16 1 991 735 957 301 68 63 560 365 245 241 401 11 909 329 761 186 753 282 426 417 245 204 9 1 597 505 721 495 85 73 399 1 557 249 835 207 629 111
样例输出
Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Nandu Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Nandu Rani Rani Rani Rani Rani Rani Rani Rani Rani Nandu Rani Rani Nandu Rani Nandu Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Nandu Rani Rani Rani Rani Rani Rani Nandu Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Nandu Rani Rani Rani Rani Rani Rani Nandu Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Nandu Rani Rani Rani Rani Rani Rani Nandu Rani Rani Nandu Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Rani Nandu Rani Rani Rani Nandu Rani Rani Rani