#include using namespace std; int main(){ int ans = 0,l,k; cin >> l >> k; k *= 2; while(l > k){ ans++; l -= k; } cout << ans << endl; }