//abc192 a

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

int main() {
    int X;
    cin >> X;
    for(int i=1 ; i<=100 ; i++){
        int current_coin = X + i;
        if(current_coin % 100 == 0){
            cout << i << endl;
        }
    }
}

#include <iostream>
#include <vector>
using namespace std;
int main()
{
  int n;
    cin>>n;
    if(n==1 )
    {
        cout<<0;
        return 0;
    }
    if(n==2)
    {
        cout<<1;
        return 0;
    }
        
    int l=1;
    int r=n-1;
    int count=0;
    while(l+r==n && r>0 && l>0)
    {
        l++;
        r--;
        count++;
    }
    cout<<count;
}