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