Skip to content

Baekjoon 4562

1. Problem

문제 확인하기

2. Solution

n = int(input())
for _ in range(n):
    x, y = map(int, input().split())
    if x >= y:
        print("MMM BRAINS");
    else:
        print("NO BRAINS");