Task: Mathematics
Input (English): 5444 @ 2542 # 6861 @ 2740 # 4508 @ 478 # 1138 @ 7229
Output (English): 5926