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