#coding: utf-8 A,B=map(int,input().split()) s=input() print(str(A)+" "+str(B)) print(s)