eolymp
bolt
Спробуйте наш новий інтерфейс для відправки розв'язків
Задачі

Infinite Planes

Infinite Planes

Now, our hero is working on infinite planes. He has recently found that if lines satisfies some conditions, then some of the planes are infinite others are closed area. He is presenting a new simple and interesting problem. You have \textbf{n} lines. You are interested in that you could build \textbf{k} infinite area using \textbf{n} lines or not. Assume that you build different set of lines. \InputFile First line contains the number of test cases \textbf{t} (\textbf{1} ≤ \textbf{t} ≤ \textbf{1000}). In each line you are given \textbf{n} - the number of lines and \textbf{k} - the number of infinite area (\textbf{1} ≤ \textbf{n}, \textbf{k} ≤ \textbf{10^9}). \OutputFile DEcide, whether you could build \textbf{k} infinite area using \textbf{n} lines, or not. If yes, output “Etibar is happy”, otherwise output “No matter” without quotes.
Ліміт часу 0.5 секунд
Ліміт використання пам'яті 64 MiB
Вхідні дані #1
1
2 4
Вихідні дані #1
Etibar is happy
Автор Mahammad Valiyev
Джерело Local Contest #2 Qafqaz University by Mahammad Valiyev