#include <cmath>
double countFunction(int n) {
double function = 0;
for (int i = 0; i < n; i++) {
function = sqrt(n - i + function);
}
return function;
#include <cmath>
double countFunction(int n) {
double function = 0;
for (int i = 0; i < n; i++) {
function = sqrt(n - i + function);
}
return function;
}