#include #include #include int main(void) { long long int budget; long int childnum; scanf("%lld",&budget); scanf("%ld",&childnum); budget/=childnum; if(budget/1000==0) { printf("0"); } else { budget/=1000; budget*=1000; printf("%lld",budget); } }