Task: Mathematics
Input (English): 1691 @ 5392 # 8226 @ 5081 @ 1567 @ 5701 @ 1397
Output (English): 12603