Task: Mathematics
Input (English): 8197 @ 9504 @ 5465 # 6573 @ 8964 @ 6026
Output (English): 31583