F=input () S=input () i=0 while F[i] =="0" and i<3: i=i+1 F=int(F[i:4]) i=0 while S[i]=="0" and i<3: i=i+1 S=int(S[i:4]) if F%2==0 or S%2!=0: print ("yes") else : print ("no")
Standard input is empty
Standard output is empty
Traceback (most recent call last): File "./prog.py", line 1, in <module> F=input () EOFError: EOF when reading a line