Hide

Problem D
L33T H4X0R

Accepted submissions to this problem will be granted a score of 100
Languages en is
/problems/l33th4x0r/file/statement/en/img-0001.jpg
Image by ShaolinTiger, shaolintiger.com

An important part of any programmer’s setup is their terminal settings. It is of course of paramount importance that their terminal exudes L33T H4X0R vibes.

You will be given the terminal settings for a prospective individual and must determine if they are truly worthy of the title L33t H4X0R.

To this end there are three factors that must be considered, and to be a L33T H4X0R you must fulfil at least two of the requirements.

The first is that your terminal background colour is black enough. The total absolute difference in RGB values of your terminal background colour and black $(0, 0, 0)$ must be at most $25$.

The second is that your terminal font colour is green enough. The total absolute difference in RGB values of your terminal font colour and green $(0, 255, 0)$ must be at most $35$.

Lastly you must use a monospace font.

Input

The input starts with a single string, either monospace or variable-width depending on whether the terminal font is monospace or variable width. Next there are three lines, each with an integer in the range from $0$ to $255$. These are the red, green and blue RGB values of the terminal background colour respectively. Finally there are three more lines, each with an integer from $0$ to $255$. These are the red, green and blue RGB values of the terminal font colour respectively.

Output

Print L33T H4X0R if the terminal settings in the input makes someone a L33T H4X0R. Otherwise print n00b instead.

Sample Input 1 Sample Output 1
monospace
15
15
15
0
255
0
L33T H4X0R
Sample Input 2 Sample Output 2
variable-width
15
5
5
10
240
10
L33T H4X0R
Sample Input 3 Sample Output 3
monospace
255
255
255
0
0
0
n00b

Please log in to submit a solution to this problem

Log in