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