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