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