#include<stdio.h>int main(){ float amount,sum=0; do{ scanf("%f",&amount); sum=sum+amount; }while(sum<10000); printf("%f\n",sum); return 0;}