from cgitb import reset from collections import defaultdict from functools import lru_cache from sys import flags, stdin import math import re import queue from tokenize import String import typing import itertools import bisect import statistics import numpy as np # from numpy.core.function_base import _needs_add_docstring # from numpy.core.numeric import outer input = stdin.readline MOD = 1000000007 INF = 122337203685477580 def solve(): a = int(input().rstrip()) b = int(input().rstrip()) print(a+b) return if __name__ == '__main__': solve()