Task: Mathematics
Input (English): 1907 # 6497 @ 6429 @ 9889 # 360 @ 8417
Output (English): 19785