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