Two friends cut a large candy bar into equal pieces. Harriet ate 1/4 of the pieces. Nisha ate 1/2 of hte remaining pieces. Six pieces were left over. How many piees was the candy bar originally divided into?