using System.Linq; using System; public class Hello { static void Main() { string[] line = Console.ReadLine().Trim().Split(' '); var n = int.Parse(line[0]); var k = int.Parse(line[1]); getAns(n, k); } static void getAns(int n, int k) { var ans = Enumerable.Repeat(1L, n).ToArray(); var a = k + 1; ans[0] = a; ans[1] = (long)k * (n - 2 + a); Console.WriteLine(string.Join(" ", ans)); } }