import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		StringTokenizer st = new StringTokenizer(br.readLine());
		
		int H = Integer.parseInt(st.nextToken());
		int A = Integer.parseInt(st.nextToken());
		int i;
		for(i=1; i<10001; i++) {
			H -= A;
			if(H <= 0)
				break;
		}
		
		System.out.println(i);
	}	

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.StringTokenizer; StringTokenizer java.util public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		StringTokenizer st = new StringTokenizer(br.readLine());
		
		int H = Integer.parseInt(st.nextToken());
		int A = Integer.parseInt(st.nextToken());
		int i;
		for(i=1; i<10001; i++) {
			H -= A;
			if(H <= 0)
				break;
		}
		
		System.out.println(i);
	}	

} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		StringTokenizer st = new StringTokenizer(br.readLine());
		
		int H = Integer.parseInt(st.nextToken());
		int A = Integer.parseInt(st.nextToken());
		int i;
		for(i=1; i<10001; i++) {
			H -= A;
			if(H <= 0)
				break;
		}
		
		System.out.println(i);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		StringTokenizer st = new StringTokenizer(br.readLine());
		
		int H = Integer.parseInt(st.nextToken());
		int A = Integer.parseInt(st.nextToken());
		int i;
		for(i=1; i<10001; i++) {
			H -= A;
			if(H <= 0)
				break;
		}
		
		System.out.println(i);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringTokenizer st = new StringTokenizer(br.readLine()); st new StringTokenizer(br.readLine()) int H = Integer.parseInt(st.nextToken()); H Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st int A = Integer.parseInt(st.nextToken()); A Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st int i; i for(i=1; i<10001; i++) {
			H -= A;
			if(H <= 0)
				break;
		} i=1; i=1 i 1 i<10001 i 10001 i++ i++ i {
			H -= A;
			if(H <= 0)
				break;
		} {
			H -= A;
			if(H <= 0)
				break;
		} H -= A H A if(H <= 0)
				break; H <= 0 H 0 break; System.out.println(i) System.out.println System.out System System.out i String[] args args public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		StringTokenizer st = new StringTokenizer(br.readLine());
		
		int H = Integer.parseInt(st.nextToken());
		int A = Integer.parseInt(st.nextToken());
		int i;
		for(i=1; i<10001; i++) {
			H -= A;
			if(H <= 0)
				break;
		}
		
		System.out.println(i);
	}	

} public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		StringTokenizer st = new StringTokenizer(br.readLine());
		
		int H = Integer.parseInt(st.nextToken());
		int A = Integer.parseInt(st.nextToken());
		int i;
		for(i=1; i<10001; i++) {
			H -= A;
			if(H <= 0)
				break;
		}
		
		System.out.println(i);
	}	

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		StringTokenizer st = new StringTokenizer(br.readLine());
		
		int H = Integer.parseInt(st.nextToken());
		int A = Integer.parseInt(st.nextToken());
		int i;
		for(i=1; i<10001; i++) {
			H -= A;
			if(H <= 0)
				break;
		}
		
		System.out.println(i);
	}	

}