Given two natural numbers $A$ and $B$, print $A+B$, $A-B$, $A\times B$, $A/B$ (integer quotient), and $A\bmod B$, each on its own line.
Input
Two integers $A$ and $B$ ($1 \le A, B \le 10000$).
Output
Print the five results, one per line.
Example 1
Input
8 3
Output
11 5 24 2 2
Example 2
Input
10 5
Output
15 5 50 2 0
Discussion
Threads about this problem. Spoilers are collapsed; wrap hints in
||double bars||.No discussion yet. Start a thread if something here needs explaining.