#include using namespace std; int main(){ int L, K; K *= 2; if(L % K == 0){ cout << (L / K) - 1 << endl; } else { cout << (L / K) << endl; } return 0; }