unittest
{
	assert( [ "10 4" ].parse.expand.solve == 3 );
	assert( [ "1 10000" ].parse.expand.solve == 1 );
	assert( [ "10000 1" ].parse.expand.solve == 10000 );
}



import std.conv;
import std.range;
import std.stdio;
import std.typecons;

void main()
{
	stdin.byLineCopy.parse.expand.solve.writeln;
}

auto parse( Range )( Range input )
if( isInputRange!Range && is( ElementType!Range == string ) )
{
	auto ha = input.front.split.to!( long[] );
	return tuple( ha[ 0 ], ha[ 1 ] );
}

auto solve( long h, long a )
{
	return ( h + a - 1 ) / a;
}
