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