import java.util.*;

public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        String input = sc.nextLine();
        // System.out.println(input);
        String[] inputs = input.split(" ", 0);
        int hp = Integer.parseInt(inputs[0]);
        int attack = Integer.parseInt(inputs[1]);
        int count = 0;
        while(true){
            hp -= attack;
            count++;
            if(hp <= 0){
                break;
            }
        }
        System.out.println(count);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        String input = sc.nextLine();
        // System.out.println(input);
        String[] inputs = input.split(" ", 0);
        int hp = Integer.parseInt(inputs[0]);
        int attack = Integer.parseInt(inputs[1]);
        int count = 0;
        while(true){
            hp -= attack;
            count++;
            if(hp <= 0){
                break;
            }
        }
        System.out.println(count);
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        String input = sc.nextLine();
        // System.out.println(input);
        String[] inputs = input.split(" ", 0);
        int hp = Integer.parseInt(inputs[0]);
        int attack = Integer.parseInt(inputs[1]);
        int count = 0;
        while(true){
            hp -= attack;
            count++;
            if(hp <= 0){
                break;
            }
        }
        System.out.println(count);
    } main {
        Scanner sc = new Scanner(System.in);
        String input = sc.nextLine();
        // System.out.println(input);
        String[] inputs = input.split(" ", 0);
        int hp = Integer.parseInt(inputs[0]);
        int attack = Integer.parseInt(inputs[1]);
        int count = 0;
        while(true){
            hp -= attack;
            count++;
            if(hp <= 0){
                break;
            }
        }
        System.out.println(count);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String input = sc.nextLine(); input sc.nextLine() sc.nextLine sc String[] inputs = input.split(" ", 0); inputs input.split(" ", 0) input.split input " " 0 int hp = Integer.parseInt(inputs[0]); hp Integer.parseInt(inputs[0]) Integer.parseInt Integer inputs[0] inputs 0 int attack = Integer.parseInt(inputs[1]); attack Integer.parseInt(inputs[1]) Integer.parseInt Integer inputs[1] inputs 1 int count = 0; count 0 while(true){
            hp -= attack;
            count++;
            if(hp <= 0){
                break;
            }
        } true {
            hp -= attack;
            count++;
            if(hp <= 0){
                break;
            }
        } hp -= attack hp attack count++ count if(hp <= 0){
                break;
            } hp <= 0 hp 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);
        String input = sc.nextLine();
        // System.out.println(input);
        String[] inputs = input.split(" ", 0);
        int hp = Integer.parseInt(inputs[0]);
        int attack = Integer.parseInt(inputs[1]);
        int count = 0;
        while(true){
            hp -= attack;
            count++;
            if(hp <= 0){
                break;
            }
        }
        System.out.println(count);
    }
} public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        String input = sc.nextLine();
        // System.out.println(input);
        String[] inputs = input.split(" ", 0);
        int hp = Integer.parseInt(inputs[0]);
        int attack = Integer.parseInt(inputs[1]);
        int count = 0;
        while(true){
            hp -= attack;
            count++;
            if(hp <= 0){
                break;
            }
        }
        System.out.println(count);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        String input = sc.nextLine();
        // System.out.println(input);
        String[] inputs = input.split(" ", 0);
        int hp = Integer.parseInt(inputs[0]);
        int attack = Integer.parseInt(inputs[1]);
        int count = 0;
        while(true){
            hp -= attack;
            count++;
            if(hp <= 0){
                break;
            }
        }
        System.out.println(count);
    }
}