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