N,K = list(map(int,input().split())) print(2,N // K)