Task: Mathematics
Input (English): 1017 # 32 @ 7147 @ 4703 @ 150
Output (English): 12985