numbers = [int(i) for i in input().split()]
for n in numbers:
if n%2 == 0 or n%10 == 3:
print("НЕТ")
break
else:
print("ДА")
# числа следует вводить через пробел
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
numbers = [int(i) for i in input().split()]
for n in numbers:
if n%2 == 0 or n%10 == 3:
print("НЕТ")
break
else:
print("ДА")
# числа следует вводить через пробел