codeforcesbetaround#4(div.2only)b.beforean