import java.io.*;
import java.util.*;

public class Main {

    public static void main(final String[] args) throws Exception {
        final Scanner sc = new Scanner(System.in);
        long H;
        H = sc.nextLong();
        long A;
        A = sc.nextLong();

        final Solver solver = new Solver();
        solver.solve(H, A);
    }
}

class Solver {
    public void solve(long H, long A) {
        long left = H;
        long ans = 0;
        while (left > 0) {
            ans++;
            left -= A;
        }

        System.out.println(ans);
    }
}
 import java.io.*; io.* java import java.util.*; util.* java public class Main {

    public static void main(final String[] args) throws Exception {
        final Scanner sc = new Scanner(System.in);
        long H;
        H = sc.nextLong();
        long A;
        A = sc.nextLong();

        final Solver solver = new Solver();
        solver.solve(H, A);
    }
} Main public static void main(final String[] args) throws Exception {
        final Scanner sc = new Scanner(System.in);
        long H;
        H = sc.nextLong();
        long A;
        A = sc.nextLong();

        final Solver solver = new Solver();
        solver.solve(H, A);
    } main {
        final Scanner sc = new Scanner(System.in);
        long H;
        H = sc.nextLong();
        long A;
        A = sc.nextLong();

        final Solver solver = new Solver();
        solver.solve(H, A);
    } final Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long H; H H = sc.nextLong() H sc.nextLong() sc.nextLong sc long A; A A = sc.nextLong() A sc.nextLong() sc.nextLong sc final Solver solver = new Solver(); solver new Solver() solver.solve(H, A) solver.solve solver H A final String[] args args class Solver {
    public void solve(long H, long A) {
        long left = H;
        long ans = 0;
        while (left > 0) {
            ans++;
            left -= A;
        }

        System.out.println(ans);
    }
} Solver public void solve(long H, long A) {
        long left = H;
        long ans = 0;
        while (left > 0) {
            ans++;
            left -= A;
        }

        System.out.println(ans);
    } solve {
        long left = H;
        long ans = 0;
        while (left > 0) {
            ans++;
            left -= A;
        }

        System.out.println(ans);
    } long left = H; left H long ans = 0; ans 0 while (left > 0) {
            ans++;
            left -= A;
        } left > 0 left 0 {
            ans++;
            left -= A;
        } ans++ ans left -= A left A System.out.println(ans) System.out.println System.out System System.out ans long H H long A A public class Main {

    public static void main(final String[] args) throws Exception {
        final Scanner sc = new Scanner(System.in);
        long H;
        H = sc.nextLong();
        long A;
        A = sc.nextLong();

        final Solver solver = new Solver();
        solver.solve(H, A);
    }
} public class Main {

    public static void main(final String[] args) throws Exception {
        final Scanner sc = new Scanner(System.in);
        long H;
        H = sc.nextLong();
        long A;
        A = sc.nextLong();

        final Solver solver = new Solver();
        solver.solve(H, A);
    }
} Main
import java.io.*;
import java.util.*;

public class Main {

    public static void main(final String[] args) throws Exception {
        final Scanner sc = new Scanner(System.in);
        long H;
        H = sc.nextLong();
        long A;
        A = sc.nextLong();

        final Solver solver = new Solver();
        solver.solve(H, A);
    }
}

class Solver {
    public void solve(long H, long A) {
        long left = H;
        long ans = 0;
        while (left > 0) {
            ans++;
            left -= A;
        }

        System.out.println(ans);
    }
}

