#include <iostream>

using namespace std;

int main()
{
    int n,w;
    cin>>n>>w;
    cout<<n/w;
    
    
}

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(0);

    int a, b;
    cin >> a >> b;

    int mn = min(a, b), mx = max(a, b);

    vector<int> ans;
    ll s1 = 0, s2 = 0;
    for(int i = 0; i < mx; i++) {
        ans.push_back(i + 1);
        s1 += i + 1;
    }
    for(int i = 0; i < mn; i++) {
        ans.push_back(-(i + 1));
        s2 += i + 1;
    }
    ll d = s1 - s2;
    ans[a+b-1] -= d;

    if(mn==a) {
        for(int i = 0; i < a + b; i++) ans[i] = ans[i] * -1;
    }
    
    for(int x : ans) cout << x << " ";


    return 0;
}