Given two integers. You have to perform the addition, subtraction, multiplication, division and modulo division of those two numbers.

First line contains two integers separated by space.

Perform each and every operation and print the values separated by space .

Example 1:

Input

1 3

Output

4 -2 3 0 1

Example 2:

Input

5 7

Output

12 -2 35 0 5

Example 3:

Input

10 12

Output

22 2 120 1 2

Login to see Discussion

Approach-i) Perform the arithmetic operations and return the answer

Time Complexity: O(1)

Space Complexity: O(1)

**Note : **

Let us know if you can come up with a better approach, mail us at support@theinquisitive.in Your approach will be reviewed and posted with credits to you.

Login to see Solution