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