Chromosome#6574

Chromosome

1 second
64 megabytes
Very easy

At a biomedical research center, the technician must examine a string of chromosome to see if it matches a particular pattern. Each string consists of any uppercase alphabet (i.e., A, B, C, …, Z). Currently, the technician must find if the string exactly matches the following rules:

Your job is to write a program that performs this check.

Input

First line of input is a number of test cases T \le 20. Each test case is a line contains only uppercase alphabet without any whitespace and at most alphabets.

Output

For each test case, display "Infected!" in one line if that string matches the pattern described above. Otherwise, output "Good" in one line.

Note: Do not output the '"' symbol. It is used for clarification purpose.

Examples

Example 1

Loading
Loading