Given two integers a and b, return the sum a + b.
Example 1: Input: a = 2, b = 3 Output: 5
Example 2: Input: a = -4, b = 10 Output: 6
Constraints: -1000 <= a, b <= 1000
Given two integers a and b, return the sum a + b.
Example 1: Input: a = 2, b = 3 Output: 5
Example 2: Input: a = -4, b = 10 Output: 6
Constraints: -1000 <= a, b <= 1000
Copyright 2026 algowars. All rights reserved.
Input 1 (integer)
-4
Input 2 (integer)
10
Output 1 (integer)
6