Task: Mathematics
Input (English): 3966 # 1235 @ 5287 @ 2415 @ 4017
Output (English): 14450