Aliyah had some candy to give to her for children. She first took 10 pieces for herself and then evenly divided the rest of man her children. Each child received two pieces. With how many pieces did she start?