Tina baked some cookies. 12 of her cookies were peanut butter. 12 of the peanut butter cookies also had chocolate chips. What fraction of the cookies were peanut butter and had chocolate chips?​