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