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(); double yosan = double.Parse(N); double num = double.Parse(M); double ans = yosan / num; if (ans.ToString().Length > 3) { for (int i = 0; i < ans.ToString().Length - 3; i++) { Console.Write(ans.ToString().Substring(i, 1)); } Console.WriteLine("000"); } else { Console.WriteLine("0"); } } } }