void forfor(int n, int& add, int& mult) {
   for (int i = 1; i < n;  ++i)  add += i;
   for (i = 1; i < n;  ++i)      mult *= i;
}
