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