Task: Mathematics
Input (English): 9519 @ 2889 @ 5462 @ 77
Output (English): 17947