Task: Question Answering
Input (English): Rocks are classified as sedimentary, metamorphic, or igneous on the basis of the  
 (A) age of the rocks (B) way the rocks were formed (C) types of fossils the rocks contain (D) number of minerals found in the rocks
Output (English): B