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