Yes, always remember:
D=output
K=input