while(a:?read(?-,?-,0))#0 do dispterms(round(float((a^2/(b:?read())+b)/2)));