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