Task: Mathematics
Input (English): 2945 # 7346 @ 7109 @ 7061 @ 4827 # 655
Output (English): 13941