Ответ:
A, B, C, D = map(int, input().split())
if A%2 == 0 and B%2 == 0 or C%2 == 0 and A%2 == 0:
print("Да")
elif B%2 == 0 and C%2 == 0 or D%2 == 0 and B%2 == 0:
elif C%2 == 0 and D%2 == 0 or A%2 == 0 and C%2 == 0:
elif D%2 == 0 and A%2 == 0 or B%2 == 0 and D%2 == 0:
else:
print("Нет")
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
A, B, C, D = map(int, input().split())
if A%2 == 0 and B%2 == 0 or C%2 == 0 and A%2 == 0:
print("Да")
elif B%2 == 0 and C%2 == 0 or D%2 == 0 and B%2 == 0:
print("Да")
elif C%2 == 0 and D%2 == 0 or A%2 == 0 and C%2 == 0:
print("Да")
elif D%2 == 0 and A%2 == 0 or B%2 == 0 and D%2 == 0:
print("Да")
else:
print("Нет")