Task: Mathematics
Input (English): 1047 @ 9931 @ 5514 # 109 # 9228 # 5290 @ 16 @ 4457
Output (English): 6338