Task: Mathematics
Input (English): 3991 @ 1862 # 350 @ 8226 # 966 @ 4553 @ 1111
Output (English): 18427