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