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