Task: Mathematics
Input (English): 4838 @ 9606 @ 7990 @ 3465 @ 7981 # 7655 # 7783
Output (English): 18442