using namespace std; #include #define _ ios_base::sync_with_stdio(0);cin.tie(0); #define __ return EXIT_SUCCESS; int main() { _ int N, M; cin>>N>>M; cout<<(N/M)/1000*1000<