def main():
    A = int(input())
    B = int(input())
    print(A + B)

if __name__ == "__main__":
    main()

def main():
    A = int(input())
    B = int(input())
    print(A + B)

if __name__ == "__main__":
    main()
