import java.util.Scanner;

class Solver {

    public void Solve() {
        int h = sc.nextInt();
        int a = sc.nextInt();
        int cnt = 0;
        while (h > 0) {
            h -= a;
            cnt++;
        }
        System.out.println(cnt);
    }

    Scanner sc;

    Solver(Scanner in) {
        this.sc = in;
    }

}

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        Solver s = new Solver(sc);
        s.Solve();
        sc.close();
    }
} import java.util.Scanner; Scanner java.util class Solver {

    public void Solve() {
        int h = sc.nextInt();
        int a = sc.nextInt();
        int cnt = 0;
        while (h > 0) {
            h -= a;
            cnt++;
        }
        System.out.println(cnt);
    }

    Scanner sc;

    Solver(Scanner in) {
        this.sc = in;
    }

} Solver Scanner sc; sc public void Solve() {
        int h = sc.nextInt();
        int a = sc.nextInt();
        int cnt = 0;
        while (h > 0) {
            h -= a;
            cnt++;
        }
        System.out.println(cnt);
    } Solve {
        int h = sc.nextInt();
        int a = sc.nextInt();
        int cnt = 0;
        while (h > 0) {
            h -= a;
            cnt++;
        }
        System.out.println(cnt);
    } int h = sc.nextInt(); h sc.nextInt() sc.nextInt sc int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int cnt = 0; cnt 0 while (h > 0) {
            h -= a;
            cnt++;
        } h > 0 h 0 {
            h -= a;
            cnt++;
        } h -= a h a cnt++ cnt System.out.println(cnt) System.out.println System.out System System.out cnt Solver(Scanner in) {
        this.sc = in;
    } Solver {
        this.sc = in;
    } this.sc = in this.sc this this.sc in Scanner in in public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        Solver s = new Solver(sc);
        s.Solve();
        sc.close();
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        Solver s = new Solver(sc);
        s.Solve();
        sc.close();
    } main {
        Scanner sc = new Scanner(System.in);
        Solver s = new Solver(sc);
        s.Solve();
        sc.close();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) Solver s = new Solver(sc); s new Solver(sc) s.Solve() s.Solve s sc.close() sc.close sc String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        Solver s = new Solver(sc);
        s.Solve();
        sc.close();
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        Solver s = new Solver(sc);
        s.Solve();
        sc.close();
    }
} Main
import java.util.Scanner;

class Solver {

    public void Solve() {
        int h = sc.nextInt();
        int a = sc.nextInt();
        int cnt = 0;
        while (h > 0) {
            h -= a;
            cnt++;
        }
        System.out.println(cnt);
    }

    Scanner sc;

    Solver(Scanner in) {
        this.sc = in;
    }

}

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        Solver s = new Solver(sc);
        s.Solve();
        sc.close();
    }
}
