{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":" \n \u003cp\u003eHeshen was an official of the Qing dynasty. He made a fortune which could be comparable to a whole country\u0027s wealth by corruption. So he was known as the most corrupt official in Chinese history. But Emperor Qianlong liked, or even loved him so much that was not punished during Qianlong\u0027s regime even everybody knew he was totally corrupted.\u003c/p\u003e \n \u003cp\u003eAfter Qianlong quit his job, his son Jiaqing took the throne. The new Emperor hated Heshen very much, so he threw Heshen into jail and awarded him death immediately after Qianlong died. Of course Jiaqing would not forget to raid Heshen\u0027s house for money --- that was the story of \"Heshen fell, Jiaqing full.\"\u003c/p\u003e \n \u003cp\u003eJiaqing\u0027s man got a notebook from Heshen\u0027s home which was obviously an account book.But the text of the book was written in English! Jiaqing thought all numbers in that account book should stand for money. Please find out all numbers for Jiaqing.\u003c/p\u003e \n \u003cp\u003eThe text of the account book consists only lower case letters, spaces, and digits\u003cbr\u003e(\u00270\u0027 - \u00279\u0027). One or several consecutive digits form a number. But Jiaqing only cared about the ACTUAL numbers among all numbers. Only if a number DOESN\u0027T satisfy any of the conditions below, it is an ACTUAL number:\u003c/p\u003e \n \u003cp\u003e1) The character to the left of the number is a lower case letter, for example: a123\u003c/p\u003e \n \u003cp\u003e2) The character to the right of the number is a lower case letter, for example: 123b\u003c/p\u003e \n \u003cp\u003e3) The number has one or more extra leading zeros, such as 01 , 0012….\u003c/p\u003e \n \u003cp\u003ePlease note that if the last character of a line is a digit, and the first character of the next line is also a digit, those two digits are considered consecutive.\u003c/p\u003e \n "}},{"title":"Input","value":{"format":"HTML","content":" \n \u003cp\u003eThere are no more than 200 lines. The length of each line is no more than 1000 characters.\u003c/p\u003e \n \u003cp\u003eAnd it is guaranteed that every number\u0027s length is no more than 18.\u003c/p\u003e \n \u003cp\u003eThere may be spaces at the end of a line, and those spaces matter.\u003c/p\u003e \n \u003cp\u003eNo blank lines in the input. A line consisting of only spaces is not a blank line.\u003c/p\u003e \n "}},{"title":"Output","value":{"format":"HTML","content":" \n \u003cp\u003ePrint all ACTUAL numbers in a single line in the original order.\u003cbr\u003eThen, count the number of ACTUAL numbers of each line, and print them. A number X only belongs to the line which contains the first digit of X.\u003c/p\u003e \n "}},{"title":"Sample Input","value":{"format":"HTML","content":" \n \u003cpre\u003ea19 01 17b\r\n12 bdc 13\r\n23 14 344 bc\u003c/pre\u003e \n "}},{"title":"Sample Output","value":{"format":"HTML","content":" \n \u003cpre\u003e12 1323 14 344\r\n0\r\n2\r\n2\u003c/pre\u003e \n "}}]}