Task: Mathematics
Input (English): 600 @ 1187 # 5300 @ 5790 # 1852 # 4897 @ 5153 @ 5205 # 1730
Output (English): 4156