Task: Mathematics
Input (English): 8872 @ 6527 @ 8150 @ 638
Output (English): 24187