2

Brain-Flak, 168 bytes
(({}<(({})<>)>)<>)({}<(({}<>))>((<>))())({<{(({}[()]))<>({}[()])<>{{}(<>)}{}}{}{(({}))(<>)}{}>()}[()]<{}<>{}{}<>>)<>({}(<>))<>{(({})){({}[()])<>}{}}{}<>([{}()]{})({}<>)
Format:
Input: Output:
A (255) remainder (5)
B (25) division (10)
Try it online!
E...