def solveMeFirst(a, b):
    """The purpose of this challenge is to familiarize you with reading input
    from stdin (the standard input stream) and writing output to stdout (the standard
    output stream) using our environment."""

    return a + b

num1 = input()
num2 = input()
res = solveMeFirst(num1, num2)
print res
