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