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