python七行 好吧
s = input().split(" ") for i in range(0, 4): s[i] = int(s[i]) if sum(s) % 2 ==0: print("YES") else: print("NO")