f=^(p):(i=stdin.readc())&&f(i);print p f""