# 数当てゲーム def main(): A = int(input()) B = int(input()) print(A+B) if __name__ == "__main__": main()