exec"print raw_input()%s;"%(".replace(%r%r,'')"*4%tuple('-++-<>><')*9)*99