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