Task: Mathematics
Input (English): 4032 # 1366 @ 7509 @ 5803 @ 1506
Output (English): 17484