There are n students who have taken part in an olympiad. Now it's time to award the students.

Some of them will receive diplomas, some wiil get certificates, and others won't receive anything. Students with diplomas and certificates are called winners. But there are some rules of counting the number of diplomas and certificates. The number of certificates must be exactly k times greater than the number of diplomas. The number of winners must not be greater than half of the number of all students (i.e. not be greater than half of n). It's possible that there are no winners.

You have to identify the maximum possible number of winners, according to these rules. Also for this case you have to calculate the number of students with diplomas, the number of students with certificates and the number of students who are not winners.

Input

The first (and the only) line of input contains two integers n and k (1 ≤ n, k ≤ 1012), where n is the number of students and k is the ratio between the number of certificates and the number of diplomas.

Output

Output three numbers: the number of students with diplomas, the number of students with certificates and the number of students who are not winners in case when the number of winners is maximum possible.

It's possible that there are no winners.

Examples

Input

18 2


Output

3 6 9


Input

9 10


Output

0 0 9


Input

1000000000000 5


Output

83333333333 416666666665 500000000002


Input

1000000000000 499999999999


Output

1 499999999999 500000000000

import java.util.*;
import java.lang.*;
import java.io.*;

public class Main
{
	static class InputReader{
		private InputStream stream;
		private byte[] buf = new byte[1024];
		private int curChar;
		private int numChars;
		private SpaceCharFilter filter;
 
		public InputReader(InputStream stream) {
			this.stream = stream;
		}
 
		public int read() {
			if (numChars == -1)
				throw new InputMismatchException();
			if (curChar >= numChars) {
				curChar = 0;
				try {
					numChars = stream.read(buf);
				} catch (IOException e) {
					throw new InputMismatchException();
				}
				if (numChars <= 0)
					return -1;
			}
			return buf[curChar++];
		}
 
		public int readInt() {
			int c = read();
			while (isSpaceChar(c))
				c = read();
			int sgn = 1;
			if (c == '-') {
				sgn = -1;
				c = read();
			}
			int res = 0;
			do {
				if (c < '0' || c > '9')
					throw new InputMismatchException();
				res *= 10;
				res += c - '0';
				c = read();
			} while (!isSpaceChar(c));
			return res * sgn;
		}
 
		public String readString() {
			int c = read();
			while (isSpaceChar(c))
				c = read();
			StringBuilder res = new StringBuilder();
			do {
				res.appendCodePoint(c);
				c = read();
			} while (!isSpaceChar(c));
			return res.toString();
		}
 
		public boolean isSpaceChar(int c) {
			if (filter != null)
				return filter.isSpaceChar(c);
			return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
		}
 
		public String next() {
			return readString();
		}
 
		public interface SpaceCharFilter {
			public boolean isSpaceChar(int ch);
		}
	}
	
 
static class OutputWriter {
		private final PrintWriter writer;
 
		public OutputWriter(OutputStream outputStream) {
			writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));
		}
 
		public OutputWriter(Writer writer) {
			this.writer = new PrintWriter(writer);
		}
 
		public void print(Object...objects) {
			for (int i = 0; i < objects.length; i++) {
				if (i != 0)
					writer.print(' ');
				writer.print(objects[i]);
			}
		}
 
		public void printLine(Object...objects) {
			print(objects);
			writer.println();
		}
 
		public void close() {
			writer.close();
		}
 
		public void flush() {
			writer.flush();
		}
 
		}
 
    static class IOUtils {
 
		public static int[] readIntArray(InputReader in, int size) {
			int[] array = new int[size];
			for (int i = 0; i < size; i++)
				array[i] = in.readInt();
			return array;
		}
    }
    // count;
    static int[] init, goal;
    static boolean[] visited;
    static ArrayList<ArrayList<Integer>> lists;
    static int mod = 1000000007;
    static OutputWriter out;
    static InputReader in;
    static ArrayList<Integer> abc;
    public static void main (String[] args) throws java.lang.Exception
	{
	    out = new OutputWriter(System.out);
            in = new InputReader(System.in);
	    long n = Long.parseLong(in.readString()); long k = Long.parseLong(in.readString());
            long w = n/2;
            w = w-w%(k+1);
            long d = w/(k+1);
            long c = k*d;
            long x = n - c - d;
            out.print(d+" "+c+" "+x);
	    /*int[] a = new int[n];
	    for(int i=0; i<n; i++)a[i] = in.readInt();
	    TreeSet<Integer> hill = new TreeSet<Integer>();
	    TreeSet<Integer> valley = new TreeSet<Integer>();
	    int i = 1;
        for(i=1; i<n; i++)if(a[i]!=a[i-1])break;
        boolean inc = (a[i]>a[i-1]?true:false);
        i++;
        for(; i<n; i++){
            if(inc && a[i]<a[i-1]){hill.add(i); inc = false;}
            else if(!inc && a[i]>a[i-1]){valley.add(i); inc = true;}
        }
        for(int i=0; i<m; i++){
            int l = in.readInt();
            int r = in.readInt()-1;
            if(valley.subSet(l, r).size()>0)out.printLine("No");
            else out.printLine("Yes");
        }*/
            out.flush();
            out.close();
	}
	
	/*public static void dfs(int start, int d1, int d2){
	    visited[start] = true;
    int x = Math.abs(init[start]-goal[start]);
	    ArrayList<Integer> list = lists.get(start);
	    for(int i=0; i<list.size(); i++){
	        if(!visited[list.get(i)]){
        	    if((x+d2)%2==1){
	                count++; abc.add(start);
	                dfs(list.get(i), 1, d1);
	            }else dfs(list.get(i), 0, d1);
	        }
	    }
	}*/
   public static int gcd(int aaa, int bbb){
        //b is greater
        if(aaa>bbb){int temp = aaa; aaa = bbb; bbb = temp;}
        if(bbb%aaa==0)return aaa;
        return gcd(bbb%aaa, aaa);
    }
	public static void add(int index, int value, int[] b){
	    while(index < b.length){
	        b[index] += value;
	        index = index + (index & (-index));
	    }
	}
	
	public static int getSum(int index, int [] b){
	    int sum = 0;
	    while(index > 0){
	        sum += b[index];
	        index = index - (index&(-index));
	    }
	    return sum;
	}
	
	public static void printArray(int[] a){
	    for(int i=1; i<a.length; i++)out.print(a[i]+" ");
	    out.printLine("---------");
	}
	
	static class Pair implements Comparable<Pair>{
	    int s;
	    //int d;
	    int len;
	    public Pair(int a, int c){
	        s = a; len = c;
	    }
	    public int compareTo(Pair p){
	        if(this.len > p.len)return 1;
	        else if(this.len < p.len)return -1;
	        return 0;
	    }
	}
}