#CCBCHBAHAI0000084. Initializer một phần - phần còn lại bằng 0 (Partial Initializer - Remaining Elements Are Zero)

Initializer một phần - phần còn lại bằng 0 (Partial Initializer - Remaining Elements Are Zero)

Partial Initializer - Remaining Elements Are Zero

Source: Programming in C

Version: Phuoc Hung OJ Extended

Problem Statement

An array declaration has size nn and provides exactly mm initializer values, with 1≤m<n1\le m<n. These values initialize a0,a1,…,am−1a_0,a_1,\ldots,a_{m-1}. Under the C initialization rules, every remaining element from ama_m through an−1a_{n-1} is initialized to 00.

Construct and print the complete initialized array.

Input

  • The first line contains nn and mm.
  • The second line contains exactly mm integers x0,x1,…,xm−1x_0,x_1,\ldots,x_{m-1} from the initializer.

Output

Print all nn elements a0,a1,…,an−1a_0,a_1,\ldots,a_{n-1} after initialization, separated by single spaces.

Subtasks

Subtask 1 (20 points): 2≤n≤202\le n\le20, m=1m=1, −9≤x0≤9-9\le x_0\le9.

Subtask 2 (30 points): 2≤n≤202\le n\le20, m=n−1m=n-1, 0≤xi≤1040\le x_i\le10^4.

Subtask 3 (50 points): 2≤n≤10002\le n\le1000, 1≤m<n1\le m<n, −109≤xi≤109-10^9\le x_i\le10^9.

Examples

Input

6 3
4 -2 7

Output

4 -2 7 0 0 0

Explanation

The array has n=6n=6 elements, but only m=3m=3 initializer values: 4,−2,74,-2,7. Hence a0=4a_0=4, a1=−2a_1=-2, and a2=7a_2=7. The omitted elements a3,a4,a5a_3,a_4,a_5 are all initialized to 00.