List = list(map(float, input("Введите числа, разделяя их пробелом: ").split()))
length = len(List)
i = 0
while i <= length:
if int(list[i])%3 != 0:
count = count
else:
count += 1
i += 1
print(count)
List = list(map(float, input("Введите числа, разделяя их пробелом: ").split()))
length = len(List)
i = 0
while i <= length:
if int(list[i])%3 != 0:
count = count
else:
count += 1
i += 1
print(count)