import java.util.Scanner;

public class Main {

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

        long count = 0;
        while (true) {
            H -= A;
            count++;
            if (H <= 0) {
                break;
            }
        }

        System.out.println(count);
    }

} import java.util.Scanner; Scanner java.util public class Main {

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

        long count = 0;
        while (true) {
            H -= A;
            count++;
            if (H <= 0) {
                break;
            }
        }

        System.out.println(count);
    }

} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long H = sc.nextLong();
        long A = sc.nextLong();
        sc.close();

        long count = 0;
        while (true) {
            H -= A;
            count++;
            if (H <= 0) {
                break;
            }
        }

        System.out.println(count);
    } main {
        Scanner sc = new Scanner(System.in);
        long H = sc.nextLong();
        long A = sc.nextLong();
        sc.close();

        long count = 0;
        while (true) {
            H -= A;
            count++;
            if (H <= 0) {
                break;
            }
        }

        System.out.println(count);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long H = sc.nextLong(); H sc.nextLong() sc.nextLong sc long A = sc.nextLong(); A sc.nextLong() sc.nextLong sc sc.close() sc.close sc long count = 0; count 0 while (true) {
            H -= A;
            count++;
            if (H <= 0) {
                break;
            }
        } true {
            H -= A;
            count++;
            if (H <= 0) {
                break;
            }
        } H -= A H A count++ count if (H <= 0) {
                break;
            } H <= 0 H 0 {
                break;
            } break; System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {

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

        long count = 0;
        while (true) {
            H -= A;
            count++;
            if (H <= 0) {
                break;
            }
        }

        System.out.println(count);
    }

} public class Main {

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

        long count = 0;
        while (true) {
            H -= A;
            count++;
            if (H <= 0) {
                break;
            }
        }

        System.out.println(count);
    }

} Main
import java.util.Scanner;

public class Main {

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

        long count = 0;
        while (true) {
            H -= A;
            count++;
            if (H <= 0) {
                break;
            }
        }

        System.out.println(count);
    }

}