#include using namespace std; int main(){ int L,K; cin>>L>>K; double a=L/2; int count=0; while(a>K){ a-=K; count++; } cout<