f=^(c):(t=stdin.readc())&&f(t);print c f""