Task: Mathematics
Input (English): 2543 # 706 # 90 @ 1037 @ 2007 @ 3521 # 1187 @ 9966 @ 7312
Output (English): 24403