CCC 2018 J1 - Telemarketer or not? Solution
← Back to Forum

CCC 2018 J1 - Telemarketer or not? Solution

#Morgan Su, BayviewSS
#Check whether input matches telemarketer criteria, and if so: print ignore

a=int(input())
b=int(input())
c=int(input())
d=int(input())

if b==c and (a==8 or a==9) and (d==8 or d==9):
    print('ignore')
else:
    print('answer')
By msu7 on 7/8/2025
0

Comments