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