a,b,c = map(int,input().split()) print(1, c)