1)
print("YES" if [x for x in [int(x) for x in input().split()] if x % 7 == 0 and x % 5 == 0] else "NO")
2)
from random import randint
from functools import reduce
a = [randint(-9, 9) for x in range(20)]
print(f'SUM OF POSITIVE: {sum([x for x in a if x > 0])}')
print(f'INTERSECTION OF NON-NULL: {reduce(lambda x, y: x * y, [x for x in a if x != 0])}')