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