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