#include using namespace std; int main() { int w,d;cin>>w>>d; do{ int delta=w/(d*d); if(d==1){ cout << w<