#include <iostream>
using namespace std;
int main(void){
    // Your code here!
    int N;
    cin >> N;
    cout << (N - 1) / 100 + 1 << endl;
}


/* CODER::==>ARYAN KANSAGARA
  CF HANDLE:=>Good_Devil
-----------------------------------------------*/


#include<bits/stdc++.h>
using namespace std;

#define int long long int
#define endl "\n"

int32_t main() {
#ifndef ONLINE_JUDGE
	freopen("input.txt", "r", stdin);
	freopen("output.txt", "w", stdout);
	freopen("error.txt", "w", stderr);
#endif
	ios_base::sync_with_stdio(false);
	cin.tie(NULL); cout.tie(NULL);
	int n;
	cin >> n;
	int sum = 0;
	int ans;
	for (int i = 1; i <= n; ++i)
	{
		sum += i;
		if (sum >= n)
		{
			ans = i;
			break;
		}
	}
	cout << ans;

	return 0;
}



