package easy;
import java.util.Scanner;
/**
* POJ2027 easy
* @author NC
*/
public class Poj2027 {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
if (scan.hasNext()) {
int n = scan.nextInt();
for (int i = 0; i < n; i++) {
int a = scan.nextInt();
int b = scan.nextInt();
if (a >= b) {
System.out.println("MMM BRAINS");
} else {
System.out.println("NO BRAINS");
}
}
}
}
}
POJ2027
最新推荐文章于 2017-05-13 15:57:41 发布