ADUN - Adding two numbers

no tags 

Your task is to read two numbers a and b (0 < a, b <2100000000) and to output their sum.

Input

Input contains two lines, on the first line the number a and on the second line the number b.

Output

Output the sum of the two numbers.

Example

Input:
20
30

Output:
50

hide comments
Dmitry Sedukhin: 2012-11-03 16:47:32

So easy, using BigInteger in java... Maybe , it'll be useful to add some other constraints to the task, including specific programming languages?

Last edit: 2012-11-03 16:48:51
Gandaro: 2012-03-16 15:30:05

I don’t understand, why there are *that* easy problems on SPOJ… This one is really easy, even using ANSI C…

vj: 2011-08-31 04:47:04

Hi, im new to this, ive written the solution to the problem in turbo c but when i submit it doesnt work and giving compilation error, could someone take a look at the code and tell me whats wrong? thanks

[code removed.]

[Re by XilinX]: See note 1 at the bottom of this page.

Last edit: 2011-08-31 09:00:53
სვანიძე: 2011-05-03 11:00:16

integer :D

Last edit: 2011-05-03 11:00:36
Tong: 2010-10-25 12:00:23

To Sebastian: Try to make standard inputs. Don't use a file.
I mean you type the question, and then press enter.

Tong: 2010-10-23 02:20:45

I think spoj doesn't compatible with uses crt;
Try to delete it.

Reborn In Fire...: 2010-05-08 10:13:07

maybe you are writing it to a file output.txt?? forgive me if i am wrong, i don't know what language this is..

Sebastian: 2010-04-28 15:50:46

Hi, im new to this, ive written the solution to the problem in turbo pascal but when i submit it it doesnt work, im thinking maybe it has something to do with the reading and writing of the file, could someone take a look at the code and tell me whats wrong? thanks

[code was here]
Edit by kokosek: Read point 1!

Last edit: 2011-05-03 11:04:22

Added by:Pripoae Toni
Date:2008-09-14
Time limit:0.405s
Source limit:1024B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All except: ERL JS-RHINO
Resource:Original