#include <bits/stdc++.h>   using namespace std;   int main() {     long long int k, n;     cin >> n >> k;     long long int half, d, c;     half = (n / 2);     d = (half / (k + 1));     c = (k * d);     cout << d <<     << c <<     << (n - c - d);     return 0;   }   