Contest Checker

In our programming contests, the scoreboard is an HTML file. Lately, the coaches have received complaints that the total number of problems solved is not computed correctly. You are asked to write a program to check whether these complaints are valid.

Input

The input consists of multiple test cases. Each test case consists of a single line. The end of the input is signalled by a line consisting of the word END. This line should not be processed. All other lines of input consist of HTML, namely the row of a table. Consider, for example, the following line.

<tr><td align=center>1</td><td align=left>Jane Doe</td><td align=center>1/39</td><td align=center>2/135</td><td align=center>1/221</td><td align=center>1/52</td><td align=center>1/68</td><td align=center>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td align=center>8/--</td><td align=center>1/34</td><td align=center>7</td><td align=center>687</td></tr>
In a browser, this line is rendered as
1Jane Doe1/392/1351/2211/521/68        8/--1/346687
Columns 3-10 contain the scores for the 8 questions. (You may assume that there are always 8 questions.) If a column is empty (that is, it contains a number of &nbsp;) or contains a pattern of the form d/--, then the question was not attempted or not solved. Column 11 contains the total number of solved problems.

Output

For each line of input, print correct if the the total number of solved problems is correct, and print incorrect otherwise.

Sample input

<tr><td align=center>1</td><td align=left>Jane Doe</td><td align=center>1/39</td><td align=center>2/135</td><td align=center>1/221</td><td align=center>1/52</td><td align=center>1/68</td><td align=center>1/118</td><td align=center>8/--</td><td align=center>1/34</td><td align=center>7</td><td align=center>687</td></tr>
<tr><td align=center>2</td><td align=left>John Doe</td><td align=center>1/22</td><td align=center>3/232</td><td align=center>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td align=center>1/140</td><td align=center>1/83</td><td align=center>1/194</td><td align=center>2/--</td><td align=center>2/43</td><td align=center>4</td><td align=center>774</td></tr>
<tr><td align=center>3</td><td align=left>Ron Burgundy</td><td align=center>1/17</td><td align=center>3/296</td><td align=center>1/--</td><td align=center>3/83</td><td align=center>1/58</td><td align=center>2/196</td><td align=center>2/--</td><td align=center>2/78</td><td align=center>6</td><td align=center>848</td></tr>
END

Sample output

correct
incorrect
correct