Task: Mathematics
Input (English): 7865 # 1783 # 5836 @ 9089 @ 5193 @ 6263 @ 6399 # 7627
Output (English): 19563