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