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