Task: Mathematics
Input (English): 5697 @ 291 @ 8491 @ 9805
Output (English): 24284