codeforcesround#282(div.2)---a.digitalcounter