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