There are 6 baskets on the table. Each basket has 17, 18, 0, 6, 5 and 7 apples. Olivia chose fourth, Liam chose sixth, Emma chose first, Matt chose fifth, John chose second, and Sean chose third. How many apples did Olivia and Emma choose in total?