#include int main() { int a, b; scanf("%d", &a); scanf("%d", &b); printf("%d\n", (a - 1) / (2 * b)); return 0; }