Deleting a matching string(line) which is also in other lines

Hi, i need help with my shell script
I have a file input.txt containing the following contents

/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/wine
/usr/share/doc/wine/copyright
/usr/share/doc/wine/changelog.Debian.gz

I need output as

/usr/share/doc/wine
/usr/share/doc/wine/copyright
/usr/share/doc/wine/changelog.Debian.gz

the upper part i.e a path to a folder should be deleted
plz can anyone find the exact command for this.

Try:

awk -F"/" 'NF>3' file

thanks, that did helped me..

you can do it in while loop

 
while read line
do
   [ -f "$line" ] && echo $line
done < input.txt