1) n = int(input("Введите количество элементов массива: "))
x = int(input("Введите искомое число: "))
a = [int(input()) for i in range(n)]
print(a. count(x))
2) a = []
for k in range(2, 100):
for j in range(2, 10):
if k%j == 0:
a. append(k)
print(len(list(set(a))))
3) a = list(map(int, input(). split()))
left = a. index(min(a))
right = a. index(max(a))
if left > right:
left, right = right, left
s = 0
for i in range(left+1, right):
s += a[i]
print(s)
4) a = list(map(int, input(). split()))
s = 0
for i in a:
for k in str(i):
s += int(k)
print(s)