when there are this kind of exploring " "/+/- question, we do dfs. We can use replace() to replace the " " with "" and then use eval() which automatically evaluates an expression into an integer for us
https://velog.io/@whitehousechef/%EB%B0%B1%EC%A4%80-7490%EB%B2%88-0-%EB%A7%8C%EB%93%A4%EA%B8%B0-eval-function-omg