文件目录

#include <iostream>
using namespace std;
int main()
{
    int n = 1, m;
    double s = 0;
    cin >> m;
    while (true)
    {
        s += 1.0 / n;
        if (s >= m)
            break;
        n++;
    }
    cout << n;
    return 0;
}