Task: Mathematics
Input (English): 9546 # 8097 @ 7069 # 8029 @ 9007 @ 7027 # 908 @ 1768 # 6745
Output (English): 10638