Task: Mathematics
Input (English): 2842 @ 9706 # 5281 @ 7441 @ 169 # 948 @ 5189 @ 6510 @ 5289
Output (English): 30917