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