← Back to List

16017번: Telemarketer or not? ↗

Solutions

C++14
162 B | 162 chars
#include <iostream>
using namespace std;
int a,b,c,d;
int main()
{
	cin>>a>>b>>c>>d;
	if(b==c&&(a==8||a==9)&&(d==8||d==9)) cout<<"ignore";
	else cout<<"answer";
}