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