($=$_~|($||=$_))~~{1 while s/k\s/kk/;.say}for lines