Syntax Included

Time Limit: 1 Second    Memory Limit: 32768 KB

You are writing your first website and seem to be making your fair share of simple HTML syntax errors. You have decided to write an HTML parser to help you determine if your HTML code is syntactically correct based on the following condensed HTML definition:

HTML CODE BODY
BODY TEXT
TEXT STRING | STRING TEXT | TAG | TAG TEXT
STRING possibly empty string of printable characters other than '<' and '>')
TAG BOLD | ITALICS | LINK
BOLD TEXT
ITALICS TEXT
LINK URL>TEXT
URL http://STRING.com

Input

The first line contains a single integer n indicating the number of data sets.

The following n lines each represent a data set and consists of up to 1000 characters. Spaces can be contained anywhere within the data set.

Note that all tags are case sensitive.

Output

If the code is syntactically correct, the following string will be printed:

"Syntax Included"

Otherwise the following string will be printed:

"No Syntax Included"

Sample Input

3
Hello world!
Is this correct?
link

Sample Output

Syntax Included
No Syntax Included
Syntax Included
Submit

Source: South Central USA 2004