X,Y = map(float,input().split()) print(X,max(X-Y,0))