count_even = 0
count_odd = 0
while True:
num = int(input("Nhap so nguyen: ")) //0 de kthuc
if num == 0:
break
if num % 2 == 0:
count_even += 1
else:
count_odd += 1
print("Số lẻ:", count_odd)
print("Số chẵn:", count_even)