Task: Mathematics
Input (English): 5662 # 8738 # 5311 @ 4748 @ 1209 @ 9345 # 1014 # 1017 # 1565
Output (English): 3319