using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace yukicoderTest { class Program { static void Main(string[] args) { string N = Console.ReadLine(); string M = Console.ReadLine(); int yosan = int.Parse(N); int num = int.Parse(M); int ans = yosan / num; if (ans.ToString().Length >= 4) { for (int i = 0; i < ans.ToString().Length - 3; i++) { Console.WriteLine(ans.ToString().Substring(i, 1)+"000"); } } else { Console.WriteLine("0"); } } } }