728x90
#include<iostream>
#include<vector>
#include<map>
#include<cstring>
#include<math.h>
using namespace std;
int main() {
long long sqt;
cin >> sqt;
long long q = sqrt(sqt);
if (q*q == sqt) {
cout << q << endl;
}
else {
cout << q + 1 << endl;
}
return 0;
}