n = 0count_negative = 0
while n != 3:n = int(input("Введите число: "))if n < 0:count_negative += 1
print("Количество отрицательных чисел:", count_negative)
n = 0
count_negative = 0
while n != 3:
n = int(input("Введите число: "))
if n < 0:
count_negative += 1
print("Количество отрицательных чисел:", count_negative)