{"trustable":false,"sections":[{"title":"","value":{"format":"MD","content":"Thomas \"Tommy\" Vercetti is a character in the Grand Theft Auto series who appears as the protagonist of Grand Theft Auto: Vice City. Tommy owns a printing factory named Print Works.\n\nKen Rosenberg, a lawyer friend of Tommy, keeps track of the expanses of Tommy\u0027s business. For that purpose, he needs to print some numbers from **A** to **B** (inclusive). The numbers will be in base 10 and will not contain any leading zeros. Now, in Print Works, you cannot simply print numbers. The printers are only capable of printing single digits from 0 to 9. Now Ken needs to find out how many times each digit needs to be printed to construct all numbers from **A** to **B**."}},{"title":"Input","value":{"format":"MD","content":"There will be several test cases.\nEach test case consists of two space-separated integers **A** and **B (1 \u0026le; A \u0026le; B \u0026le; 10\u003csup\u003e8\u003c/sup\u003e)** \u0026mdash; the range of numbers (inclusive).\nThe final line contains two space-separated zeros denoting the end of input."}},{"title":"Output","value":{"format":"MD","content":"For each test case, print 10 space-separated integers denoting the number of times each digit from 0 to 9 needs to be printed."}},{"title":"Sample Input","value":{"format":"MD","content":"```\n5 10\n21 123\n12345 123456\n0 0\n```"}},{"title":"Sample Output","value":{"format":"MD","content":"\n```\n1 1 0 0 0 1 1 1 1 1\n20 45 24 21 20 20 20 20 20 20\n54321 85433 58433 54833 54383 54329 54322 54321 54321 54321\n```"}}]}