Task: Mathematics
Input (English): 6942 @ 1857 @ 1508 @ 3059 # 6727
Output (English): 6639