Parse ascii art math! The task

Given a multiline string with ascii art operators and numbers, parse the expression!

Possible symbols

Numbers: (3x4)

 /
/|
 |
---

___
 _|
|
---

___
 _|
  |
---

| |
|_|
  |
  |

___
|_ 
  |
---

___
|_
| |
---

___
  /
 /
|

___
|_|
| |
---

___
|_|
  |
---

___
| |
| |
---


Operators: (3x3)

 | 
-+-
 |


---


\ /
 x
/ \


 .
---
 .



Braces: (1x4)

/
|
|
\

\
|
|
/


Input

A multiline string with ascii art operators and numbers. Examples in the test cases.

Output

The string of the parsed expression.

Test cases

Input:


/ ___     ___ \     ___
|  _|  |    / |  .   _|
| |   -+-  /  | ---   |
\ ---  |  |   /  .  ---



Output: (2+7)/3

Input:

___      /      ___
|_|     /|  \ / |_ 
  | ---  |   x    |
---     --- / \ ---



Output: 9-1*5

Rules


Numbers will always be single-digit
Since operators are one symbol shorter than numbers, they are placed one symbol lower than numbers, leaving whitespace on top.
All symbols have a column of whitespace between them
This is a code-golf challenge, so lowest byte count wins!
APL (Dyalog Unicode), 46 44 bytes



'/(80-)63+92145*7'[16|43|25⊥¨(×⊆⊢)2⊥' .\'⍳⎕]


Try it online!

⎕ evaluated input, must be a character matrix

' .\'⍳ replace spaces with 0, .s with 1, \s with 2, and everything else with 3

2⊥ base-2 decode the columns

(×⊆⊢) split on zeroes

25⊥¨ base-25 decode each group

16|43| mod 43, mod 16

'/(80-)63+92145*7'[ ] use as indices in the given string