4)
numbers = []
for i in range(1, 11):
numbers.append(0)
for z in range(1, i + 1):
numbers[i - 1] += z
composition = numbers[0]
for i in range(1, len(numbers)):
composition *= numbers[i]
print(composition)
5)
n = int(input())
amountOfNumbers = 0
for i in range(n + 1):
if i % 2 != 0 and i % 3 != 0 and i % 5 != 0:
amountOfNumbers += 1
print(amountOfNumbers)
4)
numbers = []
for i in range(1, 11):
numbers.append(0)
for z in range(1, i + 1):
numbers[i - 1] += z
composition = numbers[0]
for i in range(1, len(numbers)):
composition *= numbers[i]
print(composition)
5)
n = int(input())
amountOfNumbers = 0
for i in range(n + 1):
if i % 2 != 0 and i % 3 != 0 and i % 5 != 0:
amountOfNumbers += 1
print(amountOfNumbers)