Problem:

Addition of Big Integers

  Given two integers $A$ and $B$, compute the sum, $A + B$.

Input

  Two integers $A$ and $B$ separated by a space character are given in a line.

Output

Print the sum in a line.

Constraints

  
$-1 \times 10^{100000} \leq A, B \leq 10^{100000}$

Sample Input 1

5 8

Sample Output 1

13

Sample Input 2

100 25

Sample Output 2

125

Sample Input 3

-1 1

Sample Output 3

0

Sample Input 4

12 -3

Sample Output 4

9



Sample input:
5 8


Sample output:
13

Submission status: Wrong Answer

Solution code:
a,b=map(int, input().split())
print(a-b)

Submission status: Wrong Answer

Solution code:
sum([int(i) for i in input().split()])

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
sum([Decimal(i) for i in input().split()])

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
print(sum([Decimal(i) for i in input().split()]))

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
print(a + b)

Submission status: Accepted

Solution code:
a,b = map(int, input().split())
print(a+b)

Submission status: Accepted

Solution code:
import sys
a,b=map(int,sys.stdin.readline().split())
print(a+b)

Submission status: Accepted

Solution code:
print(sum(map(int, input().split())))

Submission status: Accepted

Solution code:
print(sum(map(int, input().split())))

Submission status: Accepted

Solution code:
a, b = map(int,input().split())
print(a+b)

Submission status: Accepted

Solution code:
print(sum([int(i) for i in input().split()]))

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print(a + b)

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print(a+b)

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print(a+b)

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# FileName: 	addition_of_big_integers
# CreatedDate:  2020-07-26 14:23:13 +0900
# LastModified: 2020-07-26 14:23:35 +0900
#


import os
import sys
# import numpy as np
# import pandas as pd


def main():
    a, b = map(int, input().split())
    print(a+b)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
print(a+b)

Submission status: Accepted

Solution code:
m,n=map(int,input().split())
print(m+n)

Submission status: Accepted

Solution code:
a, b=input().split(' ')
print(int(a)+int(b))

Submission status: Accepted

Solution code:
a, b = map(int,input().split())
print(a+b)

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print(a + b)

Submission status: Accepted

Solution code:
print(eval(input().replace(" ","+")))

Submission status: Accepted

Solution code:
#標準入力をしリスト化して合計を出力する
print(sum(list(map(int,input().split()))))

Submission status: Accepted

Solution code:
import sys,bisect,math
A,B = map(int,sys.stdin.readline().split())
print(A+B)

Submission status: Accepted

Solution code:
a, b = [ int(v) for v in input().split() ]
print(a + b)

Submission status: Accepted

Solution code:
n, m = map(int, input().split())
print(n + m)

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
ans = a + b
print(ans)

Submission status: Accepted

Solution code:
print(sum(map(int,input().split())))

Submission status: Accepted

Solution code:
x = input()
a, b = x.split()
a = int(a)
b = int(b)
print(a + b)

Submission status: Accepted

Solution code:
s = input().split()
print(int(s[0]) + int(s[1]))

Submission status: Accepted

Solution code:
a=raw_input().split()
print(int(a[0])+int(a[1]))

Submission status: Accepted

Solution code:
a,b =map(int,input().split())
print(a+b)

Submission status: Accepted

Solution code:
a,b = map(int, input().split())
print(a + b)

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
print(a+b)

Submission status: Accepted

Solution code:
a,b=map(int,input().split())

print(a+b)

Submission status: Accepted

Solution code:
A,B=[int(i) for i in input().split(" ")]
print(A+B)

Submission status: Accepted

Solution code:
a,b = map(int,input().split())

print(a+b)

Submission status: Accepted

Solution code:
print(sum(list(map(int,input().split()))))

Submission status: Accepted

Solution code:
(x,y)=map(int,input().split(' '))
print(x+y);

Submission status: Accepted

Solution code:
print sum(map(long,raw_input().split(' ')))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
a,b  = map(int,input().split())

print(a + b)

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

print(a+b)

Submission status: Accepted

Solution code:
a, b = [int(x) for x in input().split()]
print(a+b)

Submission status: Accepted

Solution code:
#import pysnooper
#import os,re,sys,operator,math,heapq,string
from collections import Counter,deque
#from operator import itemgetter
#from itertools import accumulate,combinations,groupby,combinations_with_replacement,permutations
from sys import stdin,setrecursionlimit
#from copy import deepcopy

setrecursionlimit(10**6)
input=stdin.readline

a,b=map(int,input().split())
print(a+b)

Submission status: Accepted

Solution code:
import sys

z=list(map(int,input().split()))
print(z[0]+z[1])

Submission status: Accepted

Solution code:
if __name__ == "__main__":
    a, b = list(map(lambda x: int(x), input().split()))
    print(a + b)

Submission status: Accepted

Solution code:
b, c = map(int, input().split())
print(b+c)

Submission status: Accepted

Solution code:
print(sum(list(map(int, input().split()))))

Submission status: Accepted

Solution code:
a, b = input().split()
print(int(a) + int(b))

Submission status: Accepted

Solution code:
print(sum([int(x) for x in input().split()]))

Submission status: Accepted

Solution code:
#!usr/bin/env python3
from collections import defaultdict,deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
def LI(): return [int(x) for x in sys.stdin.readline().split()]
def I(): return int(sys.stdin.readline())
def LS():return [list(x) for x in sys.stdin.readline().split()]
def S(): return list(sys.stdin.readline())[:-1]
def IR(n):
    return [I() for i in range(n)]
def LIR(n):
    return [LI() for i in range(n)]
def SR(n):
    return [S() for i in range(n)]
def LSR(n):
    return [LS() for i in range(n)]

sys.setrecursionlimit(1000000)
mod = 1000000007
#1_A
"""
import math

n = int(input())
m = n
ans = []
i = 2
k = math.sqrt(n)
while i <= k:
    if n%i == 0:
        n = n//i
        ans.append(i)
        i -= 1
        if n == 1:
            break
    i += 1
if len(ans) == 0 or n != 1:
    ans.append(n)
print(m,end = ": ")
for i in range(len(ans)-1):
    print(ans[i], end = " ")
print(ans[-1])
"""

#1_B
"""
m,n = map(int, input().split())
b = bin(n)[2:]
num = [m]
for i in range(len(b)-1):
    num.append(num[-1]**2%1000000007)
ans = 1
for i in range(len(b)):
    ans *= num[i] if b[len(b)-1-i] == "1" else 1
    ans %= 1000000007
print(ans)
"""

#1_C
"""
import math

l = int(input())
a = list(map(int, input().split()))
dict = {}
for n in a:
    ans = []
    i = 2
    k = math.sqrt(n)
    dic = {}
    while i <= k:
        if n%i == 0:
            n = n//i
            ans.append(i)
            i -= 1
            if n == 1:
                break
        i += 1
    if len(ans) == 0 or n != 1:
        ans.append(n)
    for i in ans:
        if i in dic:
            dic[i] += 1
        else:
            dic[i] = 1
    for i in dic.keys():
        if i in dict:
            dict[i] = max(dict[i], dic[i])
        else:
            dict[i] = dic[i]
sum = 1
for x,y in dict.items():
    sum *= x**y
print(sum)
"""

#1_D
"""
import math

n = int(input())
m = n
ans = []
i = 2
k = math.sqrt(n)
dic = {}
while i <= k:
    if n%i == 0:
        n = n//i
        ans.append(i)
        i -= 1
        if n == 1:
            break
    i += 1
if len(ans) == 0 or n != 1:
    ans.append(n)
ans = list(set(ans))
sum = m
for i in ans:
    sum *= (1-1/i)
print(int(sum))
"""

#1_E
"""
def gcd(a,b):
    if a==0:
        return b
    return gcd(b%a,a)
a,b = LI()
g = gcd(a,b)
a//=g
b//=g
if b == 1:
    print(0,1)
    quit()
if b < 4:
    f = b-1
else:
    p = []
    x = 2
    m = b
    while x**2 <= b:
        if not m%x:
            p.append(x)
            while not m%x:
                m//=x
        x += 1
    if m != 1:p.append(m)
    f = b
    for i in p:
        f *= (1-1/i)
    f = int(f)
x_ = pow(a,f-1,b)
y_ = (1-a*x_)//b
ans = [x_,y_,abs(x_)+abs(y_)]
for i in range(-10000,10000):
    s = -b*i+x_
    t = a*i+y_
    m = abs(s)+abs(t)
    if m < ans[2]:
        ans = [s,t,m]
    elif m == ans[2] and s <= t:
        ans = [s,t,m]
print(ans[0],ans[1])
"""

#2
#2-A
a,b = LI()
print(a+b)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Big Integers - Addition of Big Integers
http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=NTL_2_A&lang=jp

"""
import sys


def main(args):
    A, B = map(int, input().split())
    print(A + B)


if __name__ == '__main__':
    main(sys.argv[1:])

Submission status: Accepted

Solution code:
#pythonだとやることないか？
L=input().split( )
A,B=int(L[0]),int(L[1])
print(A+B)

Submission status: Accepted

Solution code:
A,B=map(int,input().split())
print(A+B)

Submission status: Accepted

Solution code:
a = input().split()
print(int(a[0]) + int(a[1]))

Submission status: Accepted

Solution code:
A, B = map(int, input().split())
print(A + B)

Submission status: Accepted

Solution code:
A, B = map(int, input().split())

print(A + B)

Submission status: Accepted

Solution code:
A, B = map(int, raw_input().split())
print A + B

Submission status: Accepted

Solution code:
print(eval(input().replace(' ','+')))

Submission status: Accepted

Solution code:
x,y = list(map(int, input().split()))
print(x+y)

Submission status: Accepted

Solution code:
from decimal import *

a, b= input().rstrip().split(' ')

# num_len = max(len(a), len(b)) + 1
# minprec = 27
# if num_len > minprec:
#     getcontext().prec = num_len
# else:
#     getcontext().prec = minprec
getcontext().prec = 1000000    

print(Decimal(a) + Decimal(b))

Submission status: Accepted

Solution code:
a,b=input().split(" ")
a=int(a)
b=int(b)
print(a+b)

Submission status: Accepted

Solution code:
a,b=map(int, input().split())
print(a+b)

Submission status: Accepted

Solution code:
a,b=input().split(" ")
a=int(a)
b=int(b)
print(a+b)

Submission status: Runtime Error

Solution code:
a,b = map(int,input.split())
print(a + b)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
print(a + b)