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

public class Main {
	public static void main (String[] args) throws java.lang.Exception {
		new Solution();
	}
}
class Solution {
	Scanner scanner;
	public Solution() {
		scanner = new Scanner(System.in);

		// scanner.nextLine();
		while (scanner.hasNext()) {
			run_case();
		}
	}
	private void run_case() {
		// scanner.nextLine();
		String line = scanner.nextLine();

		int H = Integer.parseInt(line.split("\\s+")[0]);
		int A = Integer.parseInt(line.split("\\s+")[1]);

		int res = (int)Math.ceil(1.0 * H / A);
		System.out.println(res);
	}


} import java.util.*; util.* java import java.lang.*; lang.* java import java.io.*; io.* java public class Main {
	public static void main (String[] args) throws java.lang.Exception {
		new Solution();
	}
} Main public static void main (String[] args) throws java.lang.Exception {
		new Solution();
	} main {
		new Solution();
	} new Solution() String[] args args class Solution {
	Scanner scanner;
	public Solution() {
		scanner = new Scanner(System.in);

		// scanner.nextLine();
		while (scanner.hasNext()) {
			run_case();
		}
	}
	private void run_case() {
		// scanner.nextLine();
		String line = scanner.nextLine();

		int H = Integer.parseInt(line.split("\\s+")[0]);
		int A = Integer.parseInt(line.split("\\s+")[1]);

		int res = (int)Math.ceil(1.0 * H / A);
		System.out.println(res);
	}


} Solution Scanner scanner; scanner public Solution() {
		scanner = new Scanner(System.in);

		// scanner.nextLine();
		while (scanner.hasNext()) {
			run_case();
		}
	} Solution {
		scanner = new Scanner(System.in);

		// scanner.nextLine();
		while (scanner.hasNext()) {
			run_case();
		}
	} scanner = new Scanner(System.in) scanner new Scanner(System.in) while (scanner.hasNext()) {
			run_case();
		} scanner.hasNext() scanner.hasNext scanner {
			run_case();
		} run_case() run_case private void run_case() {
		// scanner.nextLine();
		String line = scanner.nextLine();

		int H = Integer.parseInt(line.split("\\s+")[0]);
		int A = Integer.parseInt(line.split("\\s+")[1]);

		int res = (int)Math.ceil(1.0 * H / A);
		System.out.println(res);
	} run_case {
		// scanner.nextLine();
		String line = scanner.nextLine();

		int H = Integer.parseInt(line.split("\\s+")[0]);
		int A = Integer.parseInt(line.split("\\s+")[1]);

		int res = (int)Math.ceil(1.0 * H / A);
		System.out.println(res);
	} String line = scanner.nextLine(); line scanner.nextLine() scanner.nextLine scanner int H = Integer.parseInt(line.split("\\s+")[0]); H Integer.parseInt(line.split("\\s+")[0]) Integer.parseInt Integer line.split("\\s+")[0] line.split("\\s+") line.split line "\\s+" 0 int A = Integer.parseInt(line.split("\\s+")[1]); A Integer.parseInt(line.split("\\s+")[1]) Integer.parseInt Integer line.split("\\s+")[1] line.split("\\s+") line.split line "\\s+" 1 int res = (int)Math.ceil(1.0 * H / A); res (int)Math.ceil(1.0 * H / A) Math.ceil Math 1.0 * H / A 1.0 * H 1.0 H A System.out.println(res) System.out.println System.out System System.out res public class Main {
	public static void main (String[] args) throws java.lang.Exception {
		new Solution();
	}
} public class Main {
	public static void main (String[] args) throws java.lang.Exception {
		new Solution();
	}
} Main
import java.util.*;
import java.lang.*;
import java.io.*;

public class Main {
	public static void main (String[] args) throws java.lang.Exception {
		new Solution();
	}
}
class Solution {
	Scanner scanner;
	public Solution() {
		scanner = new Scanner(System.in);

		// scanner.nextLine();
		while (scanner.hasNext()) {
			run_case();
		}
	}
	private void run_case() {
		// scanner.nextLine();
		String line = scanner.nextLine();

		int H = Integer.parseInt(line.split("\\s+")[0]);
		int A = Integer.parseInt(line.split("\\s+")[1]);

		int res = (int)Math.ceil(1.0 * H / A);
		System.out.println(res);
	}


}
