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