import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            int n = sc.nextInt();
            int[] a = new int[201];

            for (int i = 1; i < 201; i++) {
                for (int j = 1; j <= i; j++) {
                    for (int k = j; j * k <= i; k++) {
                        if (j * k == i) {
                            if (j == k) {
                                a[i]++;
                            } else {
                                a[i] += 2;
                            }
                        }
                    }
                }
            }

            int sum = 0;
            for (int i = 1; i <= n; i += 2) {
                if (a[i] == 8) sum++;
            }

            System.out.println(sum);
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            int n = sc.nextInt();
            int[] a = new int[201];

            for (int i = 1; i < 201; i++) {
                for (int j = 1; j <= i; j++) {
                    for (int k = j; j * k <= i; k++) {
                        if (j * k == i) {
                            if (j == k) {
                                a[i]++;
                            } else {
                                a[i] += 2;
                            }
                        }
                    }
                }
            }

            int sum = 0;
            for (int i = 1; i <= n; i += 2) {
                if (a[i] == 8) sum++;
            }

            System.out.println(sum);
        }
    }
} Main public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            int n = sc.nextInt();
            int[] a = new int[201];

            for (int i = 1; i < 201; i++) {
                for (int j = 1; j <= i; j++) {
                    for (int k = j; j * k <= i; k++) {
                        if (j * k == i) {
                            if (j == k) {
                                a[i]++;
                            } else {
                                a[i] += 2;
                            }
                        }
                    }
                }
            }

            int sum = 0;
            for (int i = 1; i <= n; i += 2) {
                if (a[i] == 8) sum++;
            }

            System.out.println(sum);
        }
    } main {
        try (Scanner sc = new Scanner(System.in)) {
            int n = sc.nextInt();
            int[] a = new int[201];

            for (int i = 1; i < 201; i++) {
                for (int j = 1; j <= i; j++) {
                    for (int k = j; j * k <= i; k++) {
                        if (j * k == i) {
                            if (j == k) {
                                a[i]++;
                            } else {
                                a[i] += 2;
                            }
                        }
                    }
                }
            }

            int sum = 0;
            for (int i = 1; i <= n; i += 2) {
                if (a[i] == 8) sum++;
            }

            System.out.println(sum);
        }
    } try (Scanner sc = new Scanner(System.in)) {
            int n = sc.nextInt();
            int[] a = new int[201];

            for (int i = 1; i < 201; i++) {
                for (int j = 1; j <= i; j++) {
                    for (int k = j; j * k <= i; k++) {
                        if (j * k == i) {
                            if (j == k) {
                                a[i]++;
                            } else {
                                a[i] += 2;
                            }
                        }
                    }
                }
            }

            int sum = 0;
            for (int i = 1; i <= n; i += 2) {
                if (a[i] == 8) sum++;
            }

            System.out.println(sum);
        } {
            int n = sc.nextInt();
            int[] a = new int[201];

            for (int i = 1; i < 201; i++) {
                for (int j = 1; j <= i; j++) {
                    for (int k = j; j * k <= i; k++) {
                        if (j * k == i) {
                            if (j == k) {
                                a[i]++;
                            } else {
                                a[i] += 2;
                            }
                        }
                    }
                }
            }

            int sum = 0;
            for (int i = 1; i <= n; i += 2) {
                if (a[i] == 8) sum++;
            }

            System.out.println(sum);
        } Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int[] a = new int[201]; a new int[201] 201 for (int i = 1; i < 201; i++) {
                for (int j = 1; j <= i; j++) {
                    for (int k = j; j * k <= i; k++) {
                        if (j * k == i) {
                            if (j == k) {
                                a[i]++;
                            } else {
                                a[i] += 2;
                            }
                        }
                    }
                }
            } int i = 1; int i = 1; i 1 i < 201 i 201 i++ i++ i {
                for (int j = 1; j <= i; j++) {
                    for (int k = j; j * k <= i; k++) {
                        if (j * k == i) {
                            if (j == k) {
                                a[i]++;
                            } else {
                                a[i] += 2;
                            }
                        }
                    }
                }
            } {
                for (int j = 1; j <= i; j++) {
                    for (int k = j; j * k <= i; k++) {
                        if (j * k == i) {
                            if (j == k) {
                                a[i]++;
                            } else {
                                a[i] += 2;
                            }
                        }
                    }
                }
            } for (int j = 1; j <= i; j++) {
                    for (int k = j; j * k <= i; k++) {
                        if (j * k == i) {
                            if (j == k) {
                                a[i]++;
                            } else {
                                a[i] += 2;
                            }
                        }
                    }
                } int j = 1; int j = 1; j 1 j <= i j i j++ j++ j {
                    for (int k = j; j * k <= i; k++) {
                        if (j * k == i) {
                            if (j == k) {
                                a[i]++;
                            } else {
                                a[i] += 2;
                            }
                        }
                    }
                } {
                    for (int k = j; j * k <= i; k++) {
                        if (j * k == i) {
                            if (j == k) {
                                a[i]++;
                            } else {
                                a[i] += 2;
                            }
                        }
                    }
                } for (int k = j; j * k <= i; k++) {
                        if (j * k == i) {
                            if (j == k) {
                                a[i]++;
                            } else {
                                a[i] += 2;
                            }
                        }
                    } int k = j; int k = j; k j j * k <= i j * k j k i k++ k++ k {
                        if (j * k == i) {
                            if (j == k) {
                                a[i]++;
                            } else {
                                a[i] += 2;
                            }
                        }
                    } {
                        if (j * k == i) {
                            if (j == k) {
                                a[i]++;
                            } else {
                                a[i] += 2;
                            }
                        }
                    } if (j * k == i) {
                            if (j == k) {
                                a[i]++;
                            } else {
                                a[i] += 2;
                            }
                        } j * k == i j * k j k i {
                            if (j == k) {
                                a[i]++;
                            } else {
                                a[i] += 2;
                            }
                        } if (j == k) {
                                a[i]++;
                            } else {
                                a[i] += 2;
                            } j == k j k {
                                a[i]++;
                            } a[i]++ a[i] a i {
                                a[i] += 2;
                            } a[i] += 2 a[i] a i 2 int sum = 0; sum 0 for (int i = 1; i <= n; i += 2) {
                if (a[i] == 8) sum++;
            } int i = 1; int i = 1; i 1 i <= n i n i += 2 i += 2 i 2 {
                if (a[i] == 8) sum++;
            } {
                if (a[i] == 8) sum++;
            } if (a[i] == 8) sum++; a[i] == 8 a[i] a i 8 sum++ sum System.out.println(sum) System.out.println System.out System System.out sum String[] args args public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            int n = sc.nextInt();
            int[] a = new int[201];

            for (int i = 1; i < 201; i++) {
                for (int j = 1; j <= i; j++) {
                    for (int k = j; j * k <= i; k++) {
                        if (j * k == i) {
                            if (j == k) {
                                a[i]++;
                            } else {
                                a[i] += 2;
                            }
                        }
                    }
                }
            }

            int sum = 0;
            for (int i = 1; i <= n; i += 2) {
                if (a[i] == 8) sum++;
            }

            System.out.println(sum);
        }
    }
} public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            int n = sc.nextInt();
            int[] a = new int[201];

            for (int i = 1; i < 201; i++) {
                for (int j = 1; j <= i; j++) {
                    for (int k = j; j * k <= i; k++) {
                        if (j * k == i) {
                            if (j == k) {
                                a[i]++;
                            } else {
                                a[i] += 2;
                            }
                        }
                    }
                }
            }

            int sum = 0;
            for (int i = 1; i <= n; i += 2) {
                if (a[i] == 8) sum++;
            }

            System.out.println(sum);
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            int n = sc.nextInt();
            int[] a = new int[201];

            for (int i = 1; i < 201; i++) {
                for (int j = 1; j <= i; j++) {
                    for (int k = j; j * k <= i; k++) {
                        if (j * k == i) {
                            if (j == k) {
                                a[i]++;
                            } else {
                                a[i] += 2;
                            }
                        }
                    }
                }
            }

            int sum = 0;
            for (int i = 1; i <= n; i += 2) {
                if (a[i] == 8) sum++;
            }

            System.out.println(sum);
        }
    }
}
