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