n = int(raw_input()) m = int(raw_input()) print n+m