Task: Mathematics
Input (English): 4822 # 5773 # 244 @ 1258 @ 5234 # 8399 @ 2707 @ 2908
Output (English): 2513