using System; namespace OJcsharp { class Program { static void Main(string[] args) { string x=Console.ReadLine(); char []t=x.ToCharArray(); string tx = "0"; for (int n = 0; n < x.Length - 3; n++) { tx += t[n]; } long kei = long.Parse(tx); long waru = long.Parse(Console.ReadLine()); kei = (kei - kei % waru) / waru; Console.WriteLine(kei + "000"); } } }