human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Class, Wheel arrangement, Fleet number(s), Manufacturer, Year made, Quantity made, Quantity preserved, Year(s) retired
###Question: What is the quantity preserved to the locomotive with a quantity made of 6?
gpt
SELECT Quantity preserved FROM table WHERE Quantity made = 6