A,B=map(int,raw_input().split()) S=raw_input() print "%d %s" % (A+B,S)