From which component of the light-dependent reactions does NADPH form most directly?

photosystem II
photosystem I
cytochrome complex
ATP synthase