#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  int count = 0;
  for (int num = a; num <= b; num++) {
    if (num % c == 0) {
      count++;
    }
  }
  cout << count << endl;
  return 0;
}
