double res = 1.0;
for (size_t i = 1; i <= 50; res *= i, ++i);
cout<< setprecision(0) << fixed << res << endl;
double res = 1.0;
for (size_t i = 1; i <= 50; res *= i, ++i);
cout<< setprecision(0) << fixed << res << endl;