Task: Mathematics
Input (English): 3691 # 5038 # 5530 @ 4641 # 7357 @ 7899 # 1320 @ 8382 # 471
Output (English): 4897