Task: Mathematics
Input (English): 397 @ 1596 @ 6102 @ 2852 @ 1239 @ 3524 # 8019
Output (English): 7691