#include <stdio.h> #include <stdlib.h> #include<math.h> int main() { double x , y = 0 ; scanf("%lf", &x); y = log(x + sqrt(x * x + 1)); printf("%.4f\n", y ); return 0; }