Input (grade 4): Smooth muscle fibers keep it close to the glans but make it highly elastic.
Output (grade 5): The foreskin is attached to the penis by the frenulum, but it can move.