Step 1 of 12 · Input handling

Sum two numbers

BeginnerJavaScript1,000 ms

Problem

Read two whole numbers from one line and return their sum. The numbers may be positive, negative, or zero.

Input

One line containing two space-separated integers: a b.

Output

One integer: a + b.

Examples

Input
4 9
Output
13

4 + 9 equals 13.

Input
-8 3
Output
-5

Adding 3 to -8 gives -5.

Browser-isolated runner

Write your solution.

Define solve(input) and return the exact output. Network access is blocked and the runner stops after 1,000 ms. Run the example to inspect local console.log output.

Best verdictNot submitted
solution.jsLocal only
Keyboard: Tab to Run, then EnterSign in to submit
Try your own inputRuns locally without adding a saved attempt
Ready

You can run the example now. Sign in to submit and save progress.

Sign in to save this work. Your code, attempts, and Accepted progress return with your account.

Saved attempts

Verdict history

No saved submissions yet. Your first verdict will appear here.