#P1024. Dr. Firepot

Dr. Firepot

问题描述

暑假 ACM 集训的某一天,Dr. Firepot 和 Mr. Nartrosh 正在切题,其中有一个题目非常的有意义。当时他俩就这个题目讨论了很久,所以对于这道题目一直记忆犹新。于是他俩准备把这个题目推荐给你们。鉴于保持原汁原味,他俩准备不作修改地把这个题目告诉大家,让你们来分享他们当时的成就感。题目描述是这样的:“Zombies love to eat brains. Yum. We give two number ‘xx, yy’, xx is the number of brains, yy is the number of the brains the zombie requires to stay alive. Tell him ‘MMM BRAINS’ if the number of brains the zombie eats is greater than or equal to the number of brains the zombie requires to stay alive. Otherwise, tell him ‘NO BRAINS’。”

输入格式

第一行一个正整数 nn0<n<1080 < n < 10^8),表示接下来有 nn 组数据。
接下来每一行两个整数 xx, yy

输出格式

一共 nn 行,每一行输出 “MMM BRAINS” 或 “NO BRAINS”。

样例输入

3
4 5
3 3
4 3

样例输出

NO BRAINS
MMM BRAINS
MMM BRAINS