PHƯỚC HƯNG OJ · THỬ THÁCH THUẬT TOÁN

#GL0000108. ƯCLN lớn nhất của dãy tăng (Maximal GCD)

HỌC THEO LỘ TRÌNH

Bài tập thuộc lộ trình

1 lộ trình

ƯCLN lớn nhất của dãy tăng (Maximal GCD)

Maximal GCD

Source: Codeforces

Version: Phuoc Hung OJ Extended

Problem Statement

Given positive integers n,kn,k, construct a strictly increasing sequence of kk positive integers a1<a2<⋯<aka_1<a_2<\cdots<a_k with sum nn and the maximum possible GCD of all elements. Print -1 if no sequence exists. Any optimal sequence is accepted.

Input

One line containing n,kn,k.

Output

Print -1 if impossible; otherwise print exactly kk elements.

Subtasks

  • Subtask 1 (20 points): 1≤n,k≤1031\le n,k\le10^3.
  • Subtask 2 (30 points): 1≤n,k≤1071\le n,k\le10^7.
  • Subtask 3 (50 points): 1≤n,k≤10101\le n,k\le10^{10}.

Examples

Input

8 2

Output

2 6

Explanation

The sequence 2<62<6 sums to 88 and has GCD 22, which is optimal.