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