Sum Without Addition

Languages

Given two integers a and b, compute their sum without using addition or subtraction operators.

Input

  • a: number: An integer
  • b: number: An integer

Examples

Input: a = 1, b = 2
Output: 3
Explanation: a:=1 plus b:=2 equals 3 which is the expected output.
Input: a = -1, b = -2
Output: -3
Explanation: a:=-1 plus b:=-2 equals -3 which is the expected output.
Input: a = 0, b = 0
Output: 0
Explanation: a:=0 plus b:=0 equals 0 which is the expected output.

Constraints

  • -1000 <= a, b <= 1000