nand gate만으로 shift를 구현할 수 있나요?

n2way의 이미지

nand gate만으로 and or not 등의 모든 게이트를 구현할 수 있지 않습니까?

어떤식으로 shift를 gate들로 구현할 수 있을까요?