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