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