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