Task: Mathematics
Input (English): 1769 # 4849 @ 4291 @ 1317 @ 1319
Output (English): 3847