

def createProduct(name, price, quantity):
    return [name, price, quantity]

def getName(product):
    return product[0]

def getPrice(product):
    return product[1]

def getQuantity(product):
    return product[2]

