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