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

