$_=<>;y/+*/*+/;0while s/\d+\D\d+/eval$&/e;print