1829No Brainer

1829   No Brainer

题目描述

Zombies love to eat brains. Yum.

输入格式:

The first line contains a single integer n indicating the number of data sets.

The following n lines each represent a data set. Each data set will be formatted according to the following description:

A single data set consists of a line "X Y", where X is the number of brains the zombie eats and Y is the number of brains the zombie requires to stay alive.

输出格式:

For each data set, there will be exactly one line of output. This line will be "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, the line will be "NO BRAINS".

输入样例 复制
3
4 5
3 3
4 3
输出样例 复制
NO BRAINS
MMM BRAINS
MMM BRAINS

说明

51
64
通过提交
时空限制2000ms/64mb
题目来源
评测方式在线评测
题目类型基础强化
难        度