Problem L: CCC18J1 Telemarketer or not?

Problem L: CCC18J1 Telemarketer or not?

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 131  Solved: 44
[Submit] [Status] [Web Board] [Creator:]

Description

English:

Here at the Concerned Citizens of Commerce (CCC), we have noted that telemarketers like to use seven-digit phone numbers where the last four digits have three properties. 

Looking just at the last four digits, these properties are:

  • the first of these four digits is an 8 or 9;
  • the last digit is an 8 or 9;
  • the second and third digits are the same.

For example, if the last four digits of the telephone number are 8229, 8338, or 9008, these are telemarketer numbers.

Write a program to decide if a telephone number is a telemarketer number or not, based on the last four digits. 

If the number is not a telemarketer number, we should answer the phone, and otherwise, we should ignore it.



Chinese:

在这里,在 Concerned Citizens of Commerce(CCC)中,我们注意到电话推销员喜欢使用七位数的电话号码,而后四位数具有三个属性。
仅查看最后四个数字,这些属性是:

  • 这四个数字中的第一个数字是8或9;
  • 最后一位是8或9;
  • 第二和第三位数字相同。
例如,如果电话号码的后四位数字是8229、8338或9008,则这些是电话推销员号码。
编写一个程序,根据后四位数字确定电话号码是否为电话推销员号码。
如果该号码不是电话推销员号码,我们应该接听电话,否则,我们应该忽略它。


Input

The input will be a 4 lines where each line contains exactly one digit in the range from 0 to 9.


输入4行,其中每行恰好包含0到9范围内的一位数字。

Output

Output either ignore if the number matches the pattern for a telemarketer number; 
otherwise, output answer.


如果号码与电话推销员号码的格式匹配,则输出 ignore
否则,输出 answer


Sample Input Copy

9
6
6
8

Sample Output Copy

ignore

HINT

The first digit is 9, the last digit is 8, and the second and third digit are both 6, so this is a telemarketer number.   


第一位数字为9,最后一位数字为8,第二位和第三位数字均为6,因此这是电话推销员号码。