
import java.util.*;
public class Main{
	
	void cal()
	{
		Scanner sc=new Scanner(System.in);
		int H,A;
		H=sc.nextInt();
		A=sc.nextInt();
		int i=0;
		while(H>0)
		{
			H=H-A;
			
			i++;
			
		}
		System.out.println(i);
		
		
	}
	
	
	
	
	




public static void main (String args[])
{
	Main obj= new Main();
	obj.cal();

}
}


 import java.util.*; util.* java public class Main{
	
	void cal()
	{
		Scanner sc=new Scanner(System.in);
		int H,A;
		H=sc.nextInt();
		A=sc.nextInt();
		int i=0;
		while(H>0)
		{
			H=H-A;
			
			i++;
			
		}
		System.out.println(i);
		
		
	}
	
	
	
	
	




public static void main (String args[])
{
	Main obj= new Main();
	obj.cal();

}
} Main void cal()
	{
		Scanner sc=new Scanner(System.in);
		int H,A;
		H=sc.nextInt();
		A=sc.nextInt();
		int i=0;
		while(H>0)
		{
			H=H-A;
			
			i++;
			
		}
		System.out.println(i);
		
		
	} cal {
		Scanner sc=new Scanner(System.in);
		int H,A;
		H=sc.nextInt();
		A=sc.nextInt();
		int i=0;
		while(H>0)
		{
			H=H-A;
			
			i++;
			
		}
		System.out.println(i);
		
		
	} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int H H A; A H=sc.nextInt() H sc.nextInt() sc.nextInt sc A=sc.nextInt() A sc.nextInt() sc.nextInt sc int i=0; i 0 while(H>0)
		{
			H=H-A;
			
			i++;
			
		} H>0 H 0 {
			H=H-A;
			
			i++;
			
		} H=H-A H H-A H A i++ i System.out.println(i) System.out.println System.out System System.out i public static void main (String args[])
{
	Main obj= new Main();
	obj.cal();

} main {
	Main obj= new Main();
	obj.cal();

} Main obj= new Main(); obj new Main() obj.cal() obj.cal obj String args[] args public class Main{
	
	void cal()
	{
		Scanner sc=new Scanner(System.in);
		int H,A;
		H=sc.nextInt();
		A=sc.nextInt();
		int i=0;
		while(H>0)
		{
			H=H-A;
			
			i++;
			
		}
		System.out.println(i);
		
		
	}
	
	
	
	
	




public static void main (String args[])
{
	Main obj= new Main();
	obj.cal();

}
} public class Main{
	
	void cal()
	{
		Scanner sc=new Scanner(System.in);
		int H,A;
		H=sc.nextInt();
		A=sc.nextInt();
		int i=0;
		while(H>0)
		{
			H=H-A;
			
			i++;
			
		}
		System.out.println(i);
		
		
	}
	
	
	
	
	




public static void main (String args[])
{
	Main obj= new Main();
	obj.cal();

}
} Main

import java.util.*;
public class Main{
	
	void cal()
	{
		Scanner sc=new Scanner(System.in);
		int H,A;
		H=sc.nextInt();
		A=sc.nextInt();
		int i=0;
		while(H>0)
		{
			H=H-A;
			
			i++;
			
		}
		System.out.println(i);
		
		
	}
	
	
	
	
	




public static void main (String args[])
{
	Main obj= new Main();
	obj.cal();

}
}



