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