#46722: 亂寫的


x__1 (^_^ 809-34)


print(input().replace('--','').replace('-0','0'))