THERE ARE 5 CASES
1ST CASE-1-1-1-1-0-0-0-0,TOTAL POSSIBLE =4*3*2*1*(8!/4!/4!(FOR BOX))=24*70=1680.
2ND CASE-2-1-1-0-0-0-0-0,TOTAL POSSIBLE =4C2*2*(8!/5!/2!)=2016.
3RD CASE-2-2-0-0-0-0-0-0,TOTAL POSSIBLE =4C2*2C2*8!/6!/2!=336.
4TH CASE-3-1-0-0-0-0-0-0,TOTAL POSSIBLE =4C3*1*8!/6!=224.
5TH CASE-4-0-0-0-0-0-0-0,TOTAL POSSIBLE=4C4*8!/7!=1*8=8.
TOTAL WAYS=1680+2016+336+224+8=4264.
USERSPPB