### Problem Statement

Throughout the term in computer science class, Professor Smith's exams consisted entirely of true or false questions. The reason? He was too lazy to grade things by hand, so after a test was over, he would input each student's answers into his computer, and the grades would be automatically calculated. Easy!

It is the end of the term now, and grades are due tomorrow. As luck would have it, Smith's computer has crashed, and he has no time to try and fix it. All he can do now is to try and dig up old test papers and regrade them by hand.

The problem is, the answer keys for all the tests were on the computer. So now, he must try and reconstruct the answer keys so that he can grade things. All is not lost, however. He has all of the papers stored, and he can remember the number of correct answers for certain students. In addition, he is sure each question was answered correctly by at least one student. However, he still hasn't been able to figure out the answer keys for some of them, and he's asked you for help.

### Notes

-Each question has been answered correctly by at least one student. (See example 0.)

### Constraints

-graded will contain between 1 and 50 elements, inclusive.
-each element of graded will be between 3 and 18 characters in length, inclusive.
-each element of graded will contain a number N without extra leading zeros, followed by one space and then a sequence of 'T's and 'F's.
-each element of graded will have the same number of letters following the number.
-for each element of graded, N will be between 0 and the number of letters in each element, inclusive.

### Examples

0)

 ```{"2 TTF", "1 FTF", "2 FTT"}```
`Returns: "TTT"`
 Since the second question was answered 'T' by all of them, it must be right, since every question was answered correctly by at least one student. Then the second person's test paper tells us that the only possible correct answer key is "TTT", which is consistent with the other two students' papers.
1)

 `{"7 TTFFTFT"}`
`Returns: "TTFFTFT"`
 Only one person, and he had a perfect score.
2)

 ```{"9 TTTFFFFTTFFTTFT", "7 FFFFFFFFFFFFFFF"}```
`Returns: "inconsistent"`
3)

 ```{"9 TTTFFFFTTFFTTFT", "7 FFFFFFFFFFFFFFF", "8 TTTTTTTTTTTTTTT"}```
`Returns: "FFFFFFFTTTTTTTT"`

#### Problem url:

http://www.topcoder.com/stat?c=problem_statement&pm=2253

#### Problem stats url:

http://www.topcoder.com/tc?module=ProblemDetail&rd=4725&pm=2253

antimatter

#### Testers:

lbackstrom , schveiguy

Brute Force