#include "bits/stdc++.h"
using namespace std;
int main()
{
    ios::sync_with_stdio(false);
    cin.tie(0);
    long long a = 0, b = 0, c = 0, d = 0, e = 0, f = 0, m = 0, n = 0, p = 0, q = 0, mod = 1000000007, pi = 3.1415926535;
    string s1, s2;
    char moji;

    cin >> a;
    cout << (a-1)/100+1 << endl;
    return 0;
}
#include <iostream>
using namespace std;

#include <math.h>

bool IsPrime(int num) {
  if (num < 2)
    return false;
  else if (num == 2)
    return true;
  else if (num % 2 == 0)
    return false; // 偶数はあらかじめ除く

  double sqrtNum = sqrt(num);
  for (int i = 3; i <= sqrtNum; i += 2) {
    if (num % i == 0) {
      // 素数ではない
      return false;
    }
  }

  // 素数である
  return true;
}

int main() {
  int N;
  cin >> N;

  long long val = 1;
  for (int i = 2; i <= N; i++) {
    if (IsPrime(i))
      val *= i;
  }

  if (2 * 2 <= N) {
    val *= 2;
  }
  if (2 * 2 * 2 <= N) {
    val *= 2;
  }
  if (2 * 2 * 2 * 2 <= N) {
    val *= 2;
  }
  if (3 * 3 <= N) {
    val *= 3;
  }
  if (3 * 3 * 3 <= N) {
    val *= 3;
  }
  if (5 * 5 <= N) {
    val *= 5;
  }

  cout << val + 1 << endl;
  return 0;
}
