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