fork download
  1. F=input ()
  2. S=input ()
  3. i=0
  4. while F[i] =="0" and i<3:
  5. i=i+1
  6. F=int(F[i:4])
  7. i=0
  8. while S[i]=="0" and i<3:
  9. i=i+1
  10. S=int(S[i:4])
  11. if F%2==0 or S%2!=0:
  12. print ("yes")
  13. else :
  14. print ("no")
Runtime error #stdin #stdout #stderr 0.01s 28384KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 1, in <module>
    F=input () 
EOFError: EOF when reading a line