write(c(rep("+",as.numeric(charToRaw(scan("stdin","")))),"."),"",99,sep="")