Task: Mathematics
Input (English): 3002 # 7124 # 4854 # 4318 # 6460 @ 337 @ 8796 @ 3336 @ 8784
Output (English): 1499