package test;

import java.io.IOException;
import java.util.Scanner;


public class Test {

	public static void main(String[] args) throws IOException {

		 // 標準入力から読み込む際に、Scannerオブジェクトを使う。
        Scanner sc = new Scanner(System.in);
		// 現在の段数
        int a = sc.nextInt();
        // 一回層の段数
        int b = sc.nextInt();
        sc.close();

        System.out.println( (a / b) + 1 );
	}

}