import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main{ public static void main(String[] args) { try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) { String[] str = br.readLine().split(" "); int d = Integer.parseInt(str[0]); int p = Integer.parseInt(str[1]); System.out.println(d / p + 1); } catch (IOException e) { e.printStackTrace(); } } }