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