first=raw_input() split_first=first.split() A=int(split_first[0]) B=int(split_first[1]) S=raw_input() print A+B,S