tongtien = 0
songuoi = 0
while tongtien <= 10000 :
    donggop = int(input('Moi cac ban dong tien: '))
    tongtien += donggop
    songuoi += 1
print("Tien cua {} da gop dc la {}".format(songuoi,tongtien))

