Skip to main content
Tuesday (24.11.2026) at 20:00: ALGOR Contest: Round #4 (Special Challenge) starts!

~/algor $ cat problems/k-sonini-n-marta-chiqarish

Print K N times

Easy 1000 ms 64 MB 20%
Share

Two integers $k$ and $n$ are given. Print the number $k$ exactly $n$ times.

Diagram of printing a number the given number of times

Input

One line with two integers: $k$ and $n$.

Output

One line with $n$ numbers separated by spaces, each equal to $k$.

Note

$-10^{9} \le k \le 10^{9}$
$1 \le n \le 1000$

Examples

Input #1
5 3
Output #1
5 5 5
Input #2
10 1
Output #2
10

Sign in to submit a solution

Signing up is free and takes a minute.