Task: Mathematics
Input (English): 40 @ 5314 @ 9892 # 218 @ 8574 @ 776 # 5253 # 7974
Output (English): 11151