Task: Mathematics
Input (English): 3006 # 9906 # 3316 # 2356 @ 7008 @ 2091 @ 351 @ 2681 @ 5695
Output (English): 5254