#include<bits/stdc++.h>
#define ll long long int
#define pb push_back
#define fi first
#define se second
#define ss string
#define ll long long int
#define Endl endl
#define u_b upper_bound
#define rep(i,n)         for(int i=0;i<n;i++)
#define ld long double
#define tc long long t;cin>>t;while(t--)
#define fr(i,a,b)        for(long long int i=a;i<=b;i++)
#define E endl
#define FIO ios_base::sync_with_stdio(false);cin.tie(NULL);
#define V deque<ll>v;
#define aaste long long int n;cin>>n;long long int a[n];for(long long int i=0;i<n;i++)cin>>a[i];
const ll   mod =            1000000007;
const ll   MOD1 =           (int)1e9 + 9;
const ll   MOD2 =           998244353;
const ld    pi =             atan2(0, -1);
const ld    eps =            1e-9;
const int   N =                   2e5 + 5;

const int MAXR = 1000005;
ll         tests =          1;

using namespace std;
struct custom_hash {
  static uint64_t splitmix64(uint64_t x) {
    x += 0x9e3779b97f4a7c15;
    x = (x ^ (x >> 30)) * 0xbf58476d1ce4e5b9;
    x = (x ^ (x >> 27)) * 0x94d049bb133111eb;
    return x ^ (x >> 31);
  }

  size_t operator()(uint64_t x) const {
    static const uint64_t FIXED_RANDOM = chrono::steady_clock::now().time_since_epoch().count();
    return splitmix64(x + FIXED_RANDOM);
  }
};
ll binarySearch(ll l, ll r, ll k)
{
  if (r >= l) {
    ll mid = l + (r - l) / 2;
    if (mid * (mid + 1) == k)
      return 1;
    if (mid * (mid + 1) > k)
      return binarySearch( l, mid - 1, k);
    return binarySearch(mid + 1, r, k);
  }
  return 0;
}
bool sortinrev(const pair<int, int> &a,
               const pair<int, int> &b)
{
  return (a.first > b.first);
}
void swap(ll *p1, ll *p2)
{
  ll temp = *p1;
  *p1 = *p2;
  *p2 = temp;
}
ll cbratt(ll x)
{
  ll l = 0, r = MAXR;
  while (l != r) {
    ll m = (l + r + 1) / 2;
    if (m * m * m > x)
      r = m - 1;
    else
      l = m;
  }
  return l;
}
int MaxSubArraySumReturn(int a[], int  n) //negative thakle o kaaj korbe in O(n)
{

  int sum = 0, best = 0;
  for (ll i = 0; i < n; i++)
  {
    sum = max(a[i], a[i] + sum);
    best = max(best, sum);
  }
  return best;

}
ll totalDigits(ll n)
{

  ll number_of_digits = 0;
  for (ll i = 1; i <= n; i *= 10)
    number_of_digits += (n - i + 1);

  return number_of_digits;
}
int CeilIndex(std::vector<int>& v, int l, int r, int key)
{
  while (r - l > 1) {
    int m = l + (r - l) / 2;
    if (v[m] >= key)
      r = m;
    else
      l = m;
  }

  return r;
}

int LongestIncreasingSubsequenceLength(std::vector<int>& v, int p)
{
  if (v.size() == 0)
    return 0;

  std::vector<int> tail(v.size(), 0);
  int length = 1;
  tail[0] = v[0];
  for (size_t i = 1; i < v.size(); i++) {
    if (v[i] < tail[0])
      tail[0] = v[i];
    else if (v[i] > tail[length - 1])
      tail[length++] = v[i];
    else
      tail[CeilIndex(tail, -1, length - 1, v[i])] = v[i];
  }

  return (p - length);
}
int countOccurences(string &pat, string &txt)
{
  int M = pat.length();
  int N = txt.length();
  int res = 0;

  /* A loop to slide pat[] one by one */
  for (int i = 0; i <= N - M; i++)
  {
    /* For current index i, check for
       pattern match */
    int j;
    for (j = 0; j < M; j++)
      if (txt[i + j] != pat[j])
        break;

    // if pat[0...M-1] = txt[i, i+1, ...i+M-1]
    if (j == M)
    {
      res++;
      j = 0;
    }
  }
  return res;
}
int count(int stair,int n)
{
   if(stair==n)
    return 1;
  if(stair>n)
    return 0;
  return  count(stair+1,n)+count(stair+2,n);
}
int main()
{
#ifndef ONLINE_JUDGE
  {
    freopen("input.txt", "r", stdin);
    freopen("output.txt", "w", stdout);
    freopen("error.txt", "w", stderr);
  }
#endif
  ll x,y;
  cin>>x;
  if(x>=400&&x<=599)
    cout<<8;
  if(x>=600&&x<=799)
    cout<<7;
  if(x>=800&&x<=999)
    cout<<6;
  if(x>=1000&&x<=1199)
    cout<<5;
  if(x>=1200&&x<=1399)
    cout<<4;
  if(x>=1400&&x<=1599)
    cout<<3;
  if(x>=1600&&x<=1799)
    cout<<2;
  if(x>=1800&&x<=1999)
    cout<<1;

}

Measured memory_bytes: 3624