Concept:
If from n distinct objects we choose at least one object, number of ways is
\[
2^n-1
\]
Selections from each subject are independent.
Apply multiplication principle.
Step 1: Choose Mathematics books.
Total subsets
\[
2^6=64
\]
Exclude choosing none.
\[
64-1=63
\]
Step 2: Choose Physics books.
\[
2^5-1
\]
\[
32-1=31
\]
Step 3: Choose Chemistry books.
\[
2^4-1
\]
\[
16-1=15
\]
Step 4: Apply multiplication principle.
\[
63\times31\times15
\]
\[
=1953\times15
\]
\[
=29295
\]
Hence
\[
\boxed{29295}
\]