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

int main(){
	
	int n;
	cin >> n;
	int k = n/100;
	if(n%100 != 0) k++;
	cout << k; 
	
	return 0;
}
#include <bits/stdc++.h>
using namespace std;
int n;
int main() {
  cin >> n;
  n %= 100;
  cout << 100 - n;
  return 0;
}