Task: Mathematics
Input (English): 1774 @ 2012 @ 7798 @ 3914 @ 7612
Output (English): 23110