A,B = map(int,raw_input().split()) S = raw_input() if(A <= 1000 and B <= 1000): print A + B , S