There are 6 story books, 6 pictorials, and 6 popular science books on the bookshelf. Xiaofang can take any one from the bookshelf. How many different ways are there?
书架上有6本故事书，6本画报，6本科普读物，小芳从书架上任取一本，有多少种不同的取法．
<gadget id="calculator">6 + 6 + 6</gadget>
<output>18</output>

<result>18</result>