Task: Mathematics
Input (English): 2943 @ 6178 @ 4560 # 4331 @ 3900 @ 199 # 2537 # 5935
Output (English): 4977